/*
 * Signup and My Info composition only.
 * Color SSOT: surface-colors.css; geometry SSOT: surface-radius.css.
 * Reuse existing Locrian controls, SUIT type, panels and Steel Blue wipes.
 * Do not apply account selectors to Canvas, Market, or lesson contents.
 */
@media screen {
  #page-view.signup-page,
  #page-view.mypage-page {
    color:var(--locrian-text);
  }
  #page-view.signup-page #page-title {
    color:var(--locrian-text);
    font-weight:750;
    letter-spacing:-.045em;
  }
  #page-view.signup-page :is(.signup-guardian-step,.signup-email-step,.signup-profile-form,.signup-consent-form) {
    border:1px solid var(--locrian-surface-line);
    background:var(--locrian-surface-card);
    border-radius:var(--locrian-card-radius);
    padding:clamp(20px,4vw,36px);
    box-shadow:0 12px 36px rgba(31,41,51,.035);
  }
  #page-view.signup-page :is(.signup-method-choice,.signup-age-step) {
    color:var(--locrian-text);
  }
  #page-view.signup-page .signup-method-local {
    border-color:var(--locrian-surface-line);
    border-radius:var(--locrian-card-radius)!important;
    color:var(--locrian-text);
    box-shadow:0 8px 30px rgba(31,41,51,.035);
  }
  #page-view.signup-page .signup-method-local::before {
    background:var(--locrian-primary);
  }
  #page-view.signup-page .signup-method-local:is(:hover,:focus-visible) {
    border-color:var(--locrian-primary);
    color:#fff;
  }
  #page-view.signup-page .signup-method-divider,
  #page-view.signup-page .signup-method-provider,
  #page-view.signup-page .signup-identity-copy,
  #page-view.signup-page .signup-all-consent span {
    color:var(--locrian-text-muted);
  }
  #page-view.signup-page .signup-method-divider::before,
  #page-view.signup-page .signup-method-divider::after {
    background:var(--locrian-surface-line);
  }
  /* Single Market category wipe: the ORIGINAL glyphs change to white only
     where the physical Steel Blue plate has actually crossed them. */
  #page-view.signup-page .signup-age-choices.locrian-wipe-host {
    border-color:var(--locrian-surface-line);
    border-radius:var(--locrian-card-radius);
    box-shadow:0 8px 30px rgba(31,41,51,.035);
  }
  #page-view.signup-page .signup-age-choices::before {
    content:none!important;display:none!important;
  }
  html body #page-view.signup-page .signup-age-choices.locrian-wipe-host>.locrian-wipe-plate {
    background:var(--locrian-primary)!important;
    border-radius:0!important;
    z-index:0!important;
    opacity:1!important;
    transition:left .38s cubic-bezier(.22,.82,.2,1),
      top .38s cubic-bezier(.22,.82,.2,1),
      width .38s cubic-bezier(.22,.82,.2,1),
      height .38s cubic-bezier(.22,.82,.2,1)!important;
  }
  #page-view.signup-page .signup-age-choices>.signup-age-option,
  #page-view.signup-page .signup-age-choices>.signup-age-option:is(:hover,:focus-visible,.is-selected) {
    background:transparent!important;
    border:0!important;
    color:var(--locrian-text)!important;
    transition:none!important;
  }
  #page-view.signup-page .signup-age-option .locrian-edge-ink {
    --locrian-ink-base:var(--locrian-text);
    --locrian-ink-cross:#fff;
    color:transparent!important;
    -webkit-text-fill-color:transparent!important;
    mix-blend-mode:normal!important;
    transition:none!important;
  }
  /* Two age cards slide horizontally: a single real-text gradient avoids
     the darkened two-layer mask leaving Steel Blue labels dark. The common
     platechange sampler continues to set the actual clip edge per frame. */
  html body #page-view.signup-page .signup-age-choices.locrian-wipe-host
    >.signup-age-option.locrian-edge-tab .locrian-edge-ink {
    --locrian-ink-base:#1F2933;
    --locrian-ink-cross:#fff;
    background-image:linear-gradient(90deg,
      var(--locrian-ink-base) 0 var(--locrian-ink-start,0%),
      var(--locrian-ink-cross) var(--locrian-ink-start,0%) var(--locrian-ink-end,0%),
      var(--locrian-ink-base) var(--locrian-ink-end,0%) 100%)!important;
    background-blend-mode:normal!important;
    background-clip:text!important;-webkit-background-clip:text!important;
    color:transparent!important;-webkit-text-fill-color:transparent!important;
    mix-blend-mode:normal!important;
  }

  #page-view.signup-page .signup-age-option:focus-visible {
    outline:2px solid var(--locrian-primary);
    outline-offset:-4px;
  }
  #page-view.signup-page .signup-guardian-form,
  #page-view.signup-page .signup-guardian-verify,
  #page-view.signup-page .signup-email-request,
  #page-view.signup-page .signup-email-verify,
  #page-view.signup-page .signup-profile-form,
  #page-view.signup-page .signup-card-form {
    min-width:0;
  }
  #page-view.signup-page :is(.signup-guardian-form,.signup-guardian-verify,.signup-email-request,.signup-email-verify) {
    display:grid;
    gap:16px;
  }
  #page-view.signup-page :is(.signup-guardian-verify,.signup-email-verify) {
    padding-top:20px;
    border-top:1px solid var(--locrian-surface-line);
  }
  #page-view.signup-page :is(.signup-guardian-verify,.signup-email-verify)[hidden] {
    display:none!important;
  }
  #page-view.signup-page :is(.signup-field input,.signup-select),
  #page-view.mypage-page .profile-field input,
  #page-view.mypage-page .profile-card-form input {
    border:1px solid var(--locrian-surface-line);
    background:var(--locrian-surface-card);
    color:var(--locrian-text);
    border-radius:var(--locrian-control-radius);
    transition:border-color .16s ease,box-shadow .16s ease;
  }
  #page-view.signup-page :is(.signup-field input,.signup-select):focus-visible,
  #page-view.mypage-page :is(.profile-field input,.profile-card-form input):focus-visible {
    outline:0;
    border-color:var(--locrian-primary);
    box-shadow:0 0 0 3px rgba(97,117,138,.16);
  }
  #page-view.signup-page .signup-field>span,
  #page-view.mypage-page .profile-field>span {
    color:var(--locrian-text);
    font-weight:700;
  }
  #page-view.signup-page :is(.signup-field input,.signup-select)::placeholder,
  #page-view.mypage-page :is(.profile-field input,.profile-card-form input)::placeholder {
    color:var(--locrian-text-muted);
  }
  #page-view.signup-page :is(.signup-all-consent,.signup-education-options label) {
    border-color:var(--locrian-surface-line);
    background:var(--locrian-surface-card);
    border-radius:var(--locrian-control-radius);
  }
  #page-view.signup-page .signup-education-options label:has(input:checked) {
    border-color:var(--locrian-primary);
    background:var(--locrian-surface-subtle);
  }
  #page-view.signup-page :is(.signup-all-consent,.signup-consent-row,.signup-education-options,.signup-guardian-consent) input[type="checkbox"],
  #page-view.signup-page .signup-education-options input[type="radio"] {
    accent-color:var(--locrian-primary);
  }
  #page-view.signup-page .signup-consent-row {
    border-bottom-color:var(--locrian-surface-line);
  }
  #page-view.signup-page .signup-consent-detail,
  #page-view.signup-page .signup-verified-info,
  #page-view.signup-page .signup-verified-info span {
    color:var(--locrian-text-muted);
  }
  #page-view.signup-page .signup-verified-info {
    border-top-color:var(--locrian-surface-line);
    border-bottom-color:var(--locrian-surface-line);
  }
  #page-view.signup-page .signup-verified-info>div {
    border-bottom-color:var(--locrian-surface-line);
  }
  #page-view.signup-page .signup-verified-email-field input[readonly] {
    background:var(--locrian-surface-subtle);
    border-color:var(--locrian-surface-line);
    color:var(--locrian-text);
    cursor:default;
    user-select:text;
  }
  /* The upload copyright row already supplies the animated SVG stroke;
     this native radio uses its identical square and checked stroke contract. */
  #page-view.signup-page .signup-education-options>.signup-role-choice {
    position:relative;display:flex;align-items:center;gap:12px;
    min-height:55px;padding:13px 14px;
    font-weight:700;font-size:13px;color:var(--locrian-text);
    cursor:pointer;transition:border-color .16s ease,background-color .16s ease;
  }
  #page-view.signup-page .signup-education-options>.signup-role-choice>input[type=radio] {
    appearance:none;-webkit-appearance:none;box-sizing:border-box;
    flex:none;width:19px;height:19px;min-height:19px;margin:0;
    padding:0;border:1.5px solid var(--locrian-primary);
    border-radius:4px;background:#fff;cursor:pointer;
    transition:background-color .2s ease,border-color .2s ease;
  }
  #page-view.signup-page .signup-education-options>.signup-role-choice>input[type=radio]:checked {
    background:var(--locrian-primary);border-color:var(--locrian-primary);
  }
  #page-view.signup-page .signup-role-choice>.creator-copyright-mark {
    left:14px;top:50%;transform:translateY(-50%);
    width:19px;height:19px;pointer-events:none;
  }
  #page-view.signup-page .signup-role-choice input[type=radio]:checked+.creator-copyright-mark path {
    stroke-dashoffset:0;
  }
  #page-view.signup-page .signup-role-choice:focus-within>input[type=radio] {
    outline:2px solid var(--locrian-primary);outline-offset:3px;
  }
  #page-view.signup-page .signup-education-options>.signup-role-choice:has(input:checked) {
    border-color:var(--locrian-primary);background:var(--locrian-surface-subtle);
  }

  #page-view.signup-page .button.primary,
  #page-view.mypage-page .button.primary {
    background:var(--locrian-primary);
    border-color:var(--locrian-primary);
    color:#fff;
    font-weight:700;
  }
  #page-view.signup-page .button.primary:is(:hover,:focus-visible):not(:disabled),
  #page-view.mypage-page .button.primary:is(:hover,:focus-visible):not(:disabled) {
    filter:brightness(.92);
  }
  #page-view.signup-page .button:not(.primary),
  #page-view.mypage-page .button:not(.primary) {
    border-color:var(--locrian-surface-line);
    background:var(--locrian-surface-card);
    color:var(--locrian-text);
  }
  #page-view.signup-page .button:not(.primary):hover:not(:disabled),
  #page-view.mypage-page .button:not(.primary):hover:not(:disabled) {
    background:var(--locrian-surface-hover);
  }
  #page-view.signup-page :is(button,input,select):focus-visible,
  #page-view.mypage-page :is(button,input,select,summary,a):focus-visible {
    outline:2px solid var(--locrian-primary);
    outline-offset:2px;
  }
  #page-view.signup-page :is(input[autocomplete="one-time-code"]),
  #page-view.mypage-page :is(input[autocomplete="one-time-code"]) {
    font-variant-numeric:tabular-nums;
    letter-spacing:.27em;
    font-weight:750;
    font-size:19px;
  }
  /* One character per cell. The same surface is used for member and guardian email codes. */
  #page-view.signup-page .signup-otp-group {
    display:grid;grid-template-columns:repeat(6,minmax(0,1fr));
    gap:clamp(5px,1.4vw,11px);width:min(440px,100%);min-width:0;
  }
  #page-view.signup-page .signup-otp-group>.signup-otp-digit {
    box-sizing:border-box;width:100%;min-width:0;min-height:0;height:58px;
    padding:0;text-align:center;letter-spacing:0;font-size:25px;
    font-weight:750;font-variant-numeric:tabular-nums;
    border:1px solid var(--locrian-surface-line);
    border-radius:var(--locrian-control-radius);background:#fff;
    color:var(--locrian-text);
  }
  #page-view.signup-page .signup-otp-group>.signup-otp-digit:focus-visible {
    outline:0;border-color:var(--locrian-primary);
    box-shadow:0 0 0 3px rgba(97,117,138,.16);
  }
  /* Reuse the Market's actual scrollable filter panel instead of the native
     select popup, whose options cannot be styled consistently by CSS. */
  #page-view.signup-page .signup-education-picker {
    display:block;width:100%;min-width:0;flex:none;
  }
  #page-view.signup-page .signup-education-picker[open] {z-index:40;}
  #page-view.signup-page .signup-education-picker>.market-filter-summary {
    box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;
    width:100%;min-height:52px;padding:0 14px;
    background:var(--locrian-surface-card);color:var(--locrian-text);
    border:1px solid var(--locrian-surface-line);
    border-radius:var(--locrian-control-radius);
    font:650 13px/1.5 SUIT,system-ui,sans-serif;
  }
  #page-view.signup-page .signup-education-picker>.market-filter-summary::after {
    content:"";width:8px;height:8px;flex:none;
    margin:-4px 2px 0 12px;border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;transform:rotate(45deg);
    transition:transform .18s ease;
  }
  #page-view.signup-page .signup-education-picker[open]>.market-filter-summary::after {
    transform:translateY(4px) rotate(225deg);
  }
  #page-view.signup-page .signup-education-picker>.market-filter-summary:focus-visible,
  #page-view.signup-page .signup-education-picker[open]>.market-filter-summary {
    outline:0;border-color:var(--locrian-primary);
    box-shadow:0 0 0 3px rgba(97,117,138,.16);
  }
  #page-view.signup-page .signup-education-picker>.market-filter-options {
    box-sizing:border-box;min-width:100%;width:100%;max-height:min(280px,45vh);
    overflow-y:auto;overscroll-behavior:contain;
    border:1px solid var(--locrian-surface-line);
    border-radius:var(--locrian-control-radius);
    background:var(--locrian-surface-card);
    scrollbar-width:thin;scrollbar-color:var(--locrian-primary) var(--locrian-surface-subtle);
  }
  #page-view.signup-page .signup-education-picker>.market-filter-options::-webkit-scrollbar {width:7px;}
  #page-view.signup-page .signup-education-picker>.market-filter-options::-webkit-scrollbar-track {
    background:var(--locrian-surface-subtle);
  }
  #page-view.signup-page .signup-education-picker>.market-filter-options::-webkit-scrollbar-thumb {
    background:var(--locrian-primary);border-radius:7px;
  }
  #page-view.signup-page .signup-education-picker .market-filter-option {
    box-sizing:border-box;display:block;width:100%;min-height:42px;padding:11px 14px;
    border:0;border-radius:0;text-align:left;white-space:normal;
    cursor:pointer;font:650 13px/1.4 SUIT,system-ui,sans-serif;
  }
  #page-view.signup-page .signup-education-picker .market-filter-option.is-selected.locrian-edge-shared {
    background:var(--locrian-primary)!important;
  }
  #page-view.signup-page .signup-education-picker>.market-filter-options>.locrian-wipe-plate {
    background:var(--locrian-primary)!important;
  }
  /* Market's shared ink has a dark hover default. The signup educational
     list specifically needs white text ONLY inside the moving Steel Blue edge,
     including when wheel/trackpad scrolling changes the hovered row. */
  html body #page-view.signup-page .signup-education-picker
    .market-filter-option.locrian-edge-tab .locrian-edge-ink {
    --locrian-ink-base:#1F2933;
    --locrian-ink-cross:#fff;
    color:transparent!important;-webkit-text-fill-color:transparent!important;
    mix-blend-mode:normal!important;
  }
  html body #page-view.signup-page .signup-education-picker
    .market-filter-option.is-selected.locrian-edge-tab .locrian-edge-ink {
    --locrian-ink-base:#fff;
  }

  #page-view.signup-page .signup-select[hidden] {display:none!important;}
  /* My Info uses the same brand surface tokens, preserving the existing one-row-per-field layout. */
  #page-view.mypage-page .mypage-summary,
  #page-view.mypage-page .profile-info-card {
    background:var(--locrian-surface-card);
    border-color:var(--locrian-surface-line);
    border-radius:var(--locrian-card-radius);
  }
  #page-view.mypage-page .profile-info-card {
    box-shadow:0 6px 22px rgba(31,41,51,.025);
  }
  #page-view.mypage-page :is(.mypage-panel>h1,.profile-info-card>h3,.mypage-identity-copy strong) {
    color:var(--locrian-text);
    font-weight:750;
  }
  #page-view.mypage-page :is(.profile-info-note,.profile-avatar-controls small,.mypage-identity-copy span) {
    color:var(--locrian-text-muted);
  }
  #page-view.mypage-page .mypage-menu :is(a,.mypage-menu-action) {
    border-bottom-color:var(--locrian-surface-line);
    color:var(--locrian-text);
    transition:background-color .18s ease,color .18s ease;
  }
  #page-view.mypage-page .mypage-menu :is(a,.mypage-menu-action):hover {
    background:var(--locrian-surface-hover);
  }
  #page-view.mypage-page .mypage-menu a.is-active {
    background:var(--locrian-tab-selected);
    color:#fff;
    font-weight:750;
    /* Keep the same 14px link inset as Creator Center and inactive rows. */
  }
  #page-view.mypage-page :is(.profile-password-details>summary,.profile-email-change>summary,.profile-inline-action) {
    border:1px solid var(--locrian-surface-line);
    background:var(--locrian-surface-card);
    color:var(--locrian-text);
    padding:10px 14px;
    border-radius:var(--locrian-control-radius);
    cursor:pointer;
    font-size:12px;
    font-weight:700;
  }
  #page-view.mypage-page :is(.profile-password-details>summary,.profile-email-change>summary,.profile-inline-action):hover {
    background:var(--locrian-surface-hover);
  }
  #page-view.mypage-page .profile-field input[readonly] {
    background:var(--locrian-surface-subtle);
    color:var(--locrian-text-muted);
  }
  #page-view.mypage-page .profile-avatar-row {
    border-bottom-color:var(--locrian-surface-line);
  }
  #page-view.mypage-page .profile-card-form {
    min-width:0;
    width:100%;
  }
}
@media screen and (max-width:700px) {
  #page-view.signup-page :is(.signup-guardian-step,.signup-email-step,.signup-profile-form,.signup-consent-form) {
    padding:20px 16px;
  }
  #page-view.signup-page .signup-otp-group>.signup-otp-digit {height:48px;font-size:20px;}
  #page-view.mypage-page .profile-info-card {
    padding:19px 16px;
  }
}
@media(prefers-reduced-motion:reduce){
  #page-view.signup-page :is(input,.signup-method-local),
  #page-view.mypage-page :is(input,.mypage-menu a,.mypage-menu-action){
    transition:none!important;
  }
}

/* My Info rework: native Locrian surfaces, profile-first composition. */
/* This section intentionally overrides legacy .profile-info-card row geometry. */
@media screen {
  #page-view.mypage-page .profile-editor {
    max-width:940px;
  }
  #page-view.mypage-page .profile-hero,
  #page-view.mypage-page .profile-settings-section {
    min-width:0;
    border:1px solid var(--locrian-surface-line);
    border-radius:var(--locrian-card-radius);
    background:var(--locrian-surface-card);
    box-shadow:0 6px 22px rgba(31,41,51,.025);
  }
  #page-view.mypage-page .profile-hero {
    padding:clamp(18px,2.5vw,28px);
  }
  #page-view.mypage-page .profile-avatar-row {
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:22px;
    padding:0;
    border:0;
  }
  #page-view.mypage-page .profile-avatar-preview {
    width:92px;
    height:92px;
    border-color:var(--locrian-surface-line);
    background:var(--locrian-surface-subtle);
  }
  #page-view.mypage-page .profile-hero-identity {
    min-width:0;
    flex:1;
    display:grid;
    justify-items:start;
    gap:8px;
  }
  #page-view.mypage-page .profile-name-line {
    min-width:0;
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
  }
  #page-view.mypage-page .profile-current-nickname {
    min-width:0;
    overflow-wrap:anywhere;
    color:var(--locrian-text);
    font-size:clamp(20px,2.4vw,26px);
    font-weight:750;
    letter-spacing:-.045em;
  }
  #page-view.mypage-page .profile-account-detail {
    color:var(--locrian-text-muted);
    font-size:12px;
    font-weight:600;
  }
  #page-view.mypage-page .profile-nickname-edit {
    min-height:34px;
    padding:6px 12px;
    font-size:12px;
  }
  #page-view.mypage-page .profile-avatar-controls {
    gap:8px;
    margin-top:4px;
  }
  #page-view.mypage-page .profile-avatar-controls .button {
    min-height:36px;
    padding:7px 12px;
    font-size:12px;
  }
  #page-view.mypage-page .profile-avatar-controls small {
    flex-basis:100%;
    width:auto;
    font-size:11px;
  }
  #page-view.mypage-page .profile-nickname-card {
    min-width:0;
    margin-top:18px;
  }
  #page-view.mypage-page .profile-nickname-form {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    align-items:stretch;
    gap:12px;
    padding-top:18px;
    border-top:1px solid var(--locrian-surface-line);
  }
  #page-view.mypage-page .profile-nickname-form[hidden] {
    display:none!important;
  }
  #page-view.mypage-page .profile-nickname-form>.profile-field {
    max-width:460px;
  }
  #page-view.mypage-page .nickname-availability-actions {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
  }
  #page-view.mypage-page .profile-nickname-actions {
    display:flex;
    gap:8px;
    flex-wrap:wrap;
  }
  #page-view.mypage-page .profile-nickname-actions>.button {
    min-height:40px;
  }
  #page-view.mypage-page .profile-info-grid {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:14px;
    margin-top:16px;
  }
  #page-view.mypage-page .profile-settings-section {
    overflow:visible;
    padding:0 clamp(16px,2.5vw,28px);
  }
  #page-view.mypage-page .profile-section-heading {
    margin:0;
    padding:20px 0 12px;
    color:var(--locrian-text);
    font-size:17px;
    font-weight:750;
    letter-spacing:-.035em;
  }
  #page-view.mypage-page .profile-settings-section .profile-info-card {
    display:grid;
    grid-template-columns:minmax(120px,165px) minmax(0,1fr);
    align-items:start;
    gap:20px;
    min-height:0;
    padding:19px 0;
    border:0;
    border-top:1px solid var(--locrian-surface-line);
    border-radius:0;
    box-shadow:none;
    background:transparent;
  }
  #page-view.mypage-page .profile-settings-section .profile-info-card>h3 {
    padding-top:9px;
    font-size:13px;
    font-weight:700;
    line-height:1.55;
  }
  #page-view.mypage-page .profile-settings-section .profile-info-body {
    display:flex;
    align-items:center;
    flex-direction:row;
    flex-wrap:wrap;
    gap:10px;
  }
  #page-view.mypage-page .profile-settings-section .profile-info-body>.profile-field {
    flex:1 1 210px;
    min-width:0;
    max-width:390px;
  }
  #page-view.mypage-page .profile-settings-section .profile-field input[readonly] {
    background:var(--locrian-surface-subtle);
    border-color:var(--locrian-surface-line);
  }
  #page-view.mypage-page .profile-settings-section .profile-inline-action {
    min-width:0;
  }
  #page-view.mypage-page .profile-settings-section .profile-academy-details,
  #page-view.mypage-page .profile-settings-section .profile-password-details,
  #page-view.mypage-page .profile-settings-section .profile-email-change {
    min-width:0;
  }
  #page-view.mypage-page .profile-settings-section .profile-card-form {
    margin-top:12px;
  }
}
@media screen and (max-width:720px) {
  #page-view.mypage-page .profile-settings-section .profile-info-card {
    grid-template-columns:minmax(0,1fr);
    gap:7px;
    padding:15px 0;
  }
  #page-view.mypage-page .profile-settings-section .profile-info-card>h3 {
    padding-top:0;
  }
  #page-view.mypage-page .profile-settings-section .profile-info-body {
    flex-direction:column;
    align-items:stretch;
  }
  #page-view.mypage-page .profile-settings-section .profile-info-body>.profile-field {
    flex:0 1 auto;
    max-width:none;
  }
  #page-view.mypage-page .profile-academy-details>.profile-card-form {
    grid-template-columns:minmax(0,1fr);
  }
  #page-view.mypage-page .profile-academy-details>.profile-card-form>.button {
    grid-column:auto;
  }
}
@media screen and (max-width:560px) {
  #page-view.mypage-page .profile-avatar-row {
    flex-direction:row;
    align-items:flex-start;
    gap:14px;
  }
  #page-view.mypage-page .profile-avatar-preview {
    width:72px;
    height:72px;
  }
  #page-view.mypage-page .profile-hero-identity {
    gap:6px;
  }
  #page-view.mypage-page .profile-avatar-controls .button {
    min-height:34px;
    padding:6px 9px;
  }
  #page-view.mypage-page .profile-name-line {
    gap:5px 9px;
  }
}

/* My Info compact follow-up: actual Market owner gears and locrian-brand-action
   skins. All selectors are scoped to the account view or its body-level dialog. */
@media screen {
 #page-view.mypage-page .profile-editor{max-width:860px;font-size:12px}
 #page-view.mypage-page .profile-hero{padding:18px 20px}
 #page-view.mypage-page .profile-avatar-row{gap:18px}
 #page-view.mypage-page .profile-avatar-frame{
   position:relative;flex:0 0 82px;width:82px;height:82px;overflow:visible;
 }
 #page-view.mypage-page .profile-avatar-preview{
   box-sizing:border-box;display:block;width:82px;height:82px;
   border-radius:50%;overflow:hidden;
 }
 #page-view.mypage-page .profile-owner-gear.store-owner-gear{
   position:relative;display:grid;place-items:center;flex:none;
   width:27px;height:27px;min-width:27px;min-height:27px;padding:0;
   color:var(--locrian-text)!important;mix-blend-mode:normal!important;
   background:transparent!important;border:0!important;box-shadow:none!important;
   filter:none!important;
 }
 #page-view.mypage-page .profile-owner-gear.store-owner-gear svg{
   display:block;width:19px;height:19px;filter:none;
 }
 #page-view.mypage-page .profile-avatar-frame>.profile-avatar-gear.store-owner-gear{
   position:absolute;top:-8px;right:-9px;z-index:10;
 }
 #page-view.mypage-page .profile-name-line{gap:5px}
 #page-view.mypage-page .profile-current-nickname{
   font-size:19px!important;line-height:1.3;
 }
 #page-view.mypage-page .profile-account-detail{font-size:11px!important;font-weight:500}
 #page-view.mypage-page .profile-hero-identity{gap:5px}
 #page-view.mypage-page .profile-nickname-card{margin-top:12px}
 #page-view.mypage-page .profile-nickname-form{gap:9px;padding-top:12px}
 #page-view.mypage-page .profile-nickname-actions>.button{min-height:31px}
 #page-view.mypage-page .profile-info-grid{gap:10px;margin-top:12px}
 #page-view.mypage-page .profile-settings-section{padding:0 20px}
 #page-view.mypage-page .profile-section-heading{
   font-size:14px!important;padding:15px 0 10px;
 }
 #page-view.mypage-page .profile-settings-section .profile-info-card{
   grid-template-columns:minmax(100px,136px) minmax(0,1fr);
   align-items:center;gap:12px;padding:13px 0;
 }
 #page-view.mypage-page .profile-settings-section .profile-info-card>h3{
   padding:0;font-size:12px!important;font-weight:650;
 }
 #page-view.mypage-page .profile-settings-section .profile-info-body{gap:8px}
 #page-view.mypage-page .profile-settings-section .profile-info-body>.profile-field{
   flex:1 1 190px;max-width:360px;
 }
 #page-view.mypage-page .profile-editor .profile-field>span{font-size:11px!important}
 #page-view.mypage-page .profile-editor :is(.profile-field input,.profile-card-form input){
   box-sizing:border-box;min-height:36px!important;padding:7px 11px;
   font-size:12px!important;
 }
 #page-view.mypage-page .profile-editor :is(.profile-info-note,.profile-academy-current){
   font-size:11px!important;
 }
 #page-view.mypage-page .profile-editor .locrian-brand-action{
   min-height:31px!important;padding:6px 11px!important;
   font-size:11px!important;font-weight:500!important;
 }
 #page-view.mypage-page .profile-editor .profile-small-action.locrian-brand-action{
   min-height:29px!important;padding:5px 11px!important;white-space:nowrap;
 }
 #page-view.mypage-page .profile-email-change[open]{
   width:100%;flex:1 1 100%;
 }
 #page-view.mypage-page .profile-email-change[open]>summary{
   margin-left:auto;
 }
 #page-view.mypage-page .profile-email-change .profile-card-form{
   width:100%;margin-top:11px;
 }
 #page-view.mypage-page .profile-password-details>summary,
 #page-view.mypage-page .profile-email-change>summary,
 #page-view.mypage-page .profile-inline-action{
   border-color:var(--locrian-surface-line);
   border-radius:var(--locrian-control-radius);
 }
 .profile-photo-editor.creator-store-dialog{
   box-sizing:border-box;padding:0;width:min(92vw,520px);max-width:520px;
   border-color:var(--locrian-surface-line);
 }
 .profile-photo-editor .creator-store-dialog-head{
   display:flex;align-items:center;justify-content:space-between;gap:10px;
   padding:14px 19px;
 }
 .profile-photo-editor .creator-store-dialog-head h2{font-size:15px!important}
 .profile-photo-editor .creator-store-dialog-content{padding:17px 19px 20px}
 .profile-photo-editor .creator-store-preview--profile{
   box-sizing:border-box;width:100%;min-height:190px;padding:0;
 }
 .profile-photo-editor .creator-store-image-actions .locrian-brand-action,
 .profile-photo-editor .creator-store-form-actions .locrian-brand-action{
   min-height:38px;font-size:12px!important;
 }
 .profile-photo-editor .creator-store-form-actions{margin-top:0}
 .profile-photo-editor .store-photo-crop-hint,
 .profile-photo-editor .store-photo-zoom-row label{font-size:11px!important}
}
@media screen and (max-width:720px) {
 #page-view.mypage-page .profile-settings-section .profile-info-card{
   grid-template-columns:minmax(0,1fr);gap:8px;padding:12px 0;
 }
 #page-view.mypage-page .profile-settings-section .profile-info-body{align-items:stretch}
 #page-view.mypage-page .profile-settings-section .profile-info-body>.profile-field{
   flex:1 1 auto;max-width:none;width:100%;
 }
 #page-view.mypage-page .profile-email-change:not([open]){align-self:flex-end}
 #page-view.mypage-page .profile-phone-change.profile-small-action{align-self:flex-end}
}
@media screen and (max-width:560px) {
 #page-view.mypage-page .profile-hero{padding:16px}
 #page-view.mypage-page .profile-avatar-row{gap:15px}
 #page-view.mypage-page .profile-avatar-frame{width:70px;height:70px;flex-basis:70px}
 #page-view.mypage-page .profile-avatar-preview{width:70px;height:70px}
 #page-view.mypage-page .profile-avatar-frame>.profile-avatar-gear.store-owner-gear{top:-7px;right:-8px}
 #page-view.mypage-page .profile-current-nickname{font-size:17px!important}
 #page-view.mypage-page .profile-settings-section{padding:0 16px}
 .profile-photo-editor .creator-store-dialog-content{padding:14px 15px 18px}
}
@media(prefers-reduced-motion:reduce){
 #page-view.mypage-page .profile-owner-gear.store-owner-gear svg{transition:none!important}
}

/* Locrian generated screen UI font-size uplift; do not edit. */
@media screen {
@media screen{#page-view.signup-page #page-title{font-weight:700}}
@media screen{#page-view.signup-page .signup-field>span,
  #page-view.mypage-page .profile-field>span{font-weight:650}}
@media screen{#page-view.signup-page .signup-education-options>.signup-role-choice{font-weight:650}}
@media screen{#page-view.signup-page .signup-education-options>.signup-role-choice{font-size:calc(13px + 2pt)}}
@media screen{#page-view.signup-page .button.primary,
  #page-view.mypage-page .button.primary{font-weight:650}}
@media screen{#page-view.signup-page :is(input[autocomplete="one-time-code"]),
  #page-view.mypage-page :is(input[autocomplete="one-time-code"]){font-weight:700}}
@media screen{#page-view.signup-page :is(input[autocomplete="one-time-code"]),
  #page-view.mypage-page :is(input[autocomplete="one-time-code"]){font-size:calc(19px + 2pt)}}
@media screen{#page-view.signup-page .signup-otp-group>.signup-otp-digit{font-size:calc(25px + 2pt)}}
@media screen{#page-view.signup-page .signup-otp-group>.signup-otp-digit{font-weight:700}}
@media screen{#page-view.mypage-page :is(.mypage-panel>h1,.profile-info-card>h3,.mypage-identity-copy strong){font-weight:700}}
@media screen{#page-view.mypage-page .mypage-menu a.is-active{font-weight:700}}
@media screen{#page-view.mypage-page :is(.profile-password-details>summary,.profile-email-change>summary,.profile-inline-action){font-size:calc(12px + 2pt)}}
@media screen{#page-view.mypage-page :is(.profile-password-details>summary,.profile-email-change>summary,.profile-inline-action){font-weight:650}}
@media screen and (max-width:700px){#page-view.signup-page .signup-otp-group>.signup-otp-digit{font-size:calc(20px + 2pt)}}
@media screen{#page-view.mypage-page .profile-current-nickname{font-size:calc(clamp(20px,2.4vw,26px) + 2pt)}}
@media screen{#page-view.mypage-page .profile-current-nickname{font-weight:700}}
@media screen{#page-view.mypage-page .profile-account-detail{font-size:calc(12px + 2pt)}}
@media screen{#page-view.mypage-page .profile-account-detail{font-weight:550}}
@media screen{#page-view.mypage-page .profile-nickname-edit{font-size:calc(12px + 2pt)}}
@media screen{#page-view.mypage-page .profile-avatar-controls .button{font-size:calc(12px + 2pt)}}
@media screen{#page-view.mypage-page .profile-avatar-controls small{font-size:calc(11px + 2pt)}}
@media screen{#page-view.mypage-page .profile-section-heading{font-size:calc(17px + 2pt)}}
@media screen{#page-view.mypage-page .profile-section-heading{font-weight:700}}
@media screen{#page-view.mypage-page .profile-settings-section .profile-info-card>h3{font-size:calc(13px + 2pt)}}
@media screen{#page-view.mypage-page .profile-settings-section .profile-info-card>h3{font-weight:650}}
@media screen{#page-view.mypage-page .profile-editor{font-size:calc(12px + 2pt)}}
@media screen{#page-view.mypage-page .profile-current-nickname{font-size:calc(19px + 2pt)!important}}
@media screen{#page-view.mypage-page .profile-account-detail{font-size:calc(11px + 2pt)!important}}
@media screen{#page-view.mypage-page .profile-account-detail{font-weight:450}}
@media screen{#page-view.mypage-page .profile-section-heading{font-size:calc(14px + 2pt)!important}}
@media screen{#page-view.mypage-page .profile-settings-section .profile-info-card>h3{font-size:calc(12px + 2pt)!important}}
@media screen{#page-view.mypage-page .profile-settings-section .profile-info-card>h3{font-weight:600}}
@media screen{#page-view.mypage-page .profile-editor .profile-field>span{font-size:calc(11px + 2pt)!important}}
@media screen{#page-view.mypage-page .profile-editor :is(.profile-field input,.profile-card-form input){font-size:calc(12px + 2pt)!important}}
@media screen{#page-view.mypage-page .profile-editor :is(.profile-info-note,.profile-academy-current){font-size:calc(11px + 2pt)!important}}
@media screen{#page-view.mypage-page .profile-editor .locrian-brand-action{font-size:calc(11px + 2pt)!important}}
@media screen{#page-view.mypage-page .profile-editor .locrian-brand-action{font-weight:450!important}}
@media screen{.profile-photo-editor .creator-store-dialog-head h2{font-size:calc(15px + 2pt)!important}}
@media screen{.profile-photo-editor .creator-store-image-actions .locrian-brand-action,
 .profile-photo-editor .creator-store-form-actions .locrian-brand-action{font-size:calc(12px + 2pt)!important}}
@media screen{.profile-photo-editor .store-photo-crop-hint,
 .profile-photo-editor .store-photo-zoom-row label{font-size:calc(11px + 2pt)!important}}
@media screen and (max-width:560px){#page-view.mypage-page .profile-current-nickname{font-size:calc(17px + 2pt)!important}}
}
