.aal-app {
  --aal-blue: #0969f6;
  --aal-blue-dark: #074bce;
  --aal-navy: #07164b;
  --aal-muted: #5f6c86;
  --aal-line: #d8e2f0;
  --aal-gold: #ffb000;
  --aal-shadow: 0 9px 28px rgba(31, 74, 141, .1);
  width: 100%;
  max-width: 1536px;
  margin: 16px auto;
  overflow: hidden;
  color: var(--aal-navy);
  border: 1px solid #cbd9ea;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(22, 61, 117, .13);
  font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  line-height: 1.45;
}

.aal-app *, .aal-app *::before, .aal-app *::after { box-sizing: border-box; }
.aal-app button, .aal-app input, .aal-app select, .aal-app textarea { font: inherit; }
.aal-app button, .aal-app a { text-transform: none; letter-spacing: normal; }
.aal-app [hidden] { display: none !important; }
body.aal-modal-open { overflow: hidden; }

.aal-topbar { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 36px; border-bottom: 1px solid var(--aal-line); }
.aal-brand { display: flex; align-items: center; gap: 16px; min-width: 360px; }
.aal-brand-mark { width: 67px; height: 67px; flex: 0 0 67px; display: grid; place-items: center; color: #fff; border-radius: 20px; background: linear-gradient(145deg, #1182ff, #004ee9); box-shadow: 0 8px 18px rgba(7,105,246,.25); font-size: 31px; }
.aal-brand-mark span { transform: rotate(45deg); }
.aal-brand h1 { margin: 0; color: var(--aal-navy); font-size: clamp(27px, 3vw, 41px); font-weight: 800; line-height: 1.08; }
.aal-brand h1 i { color: var(--aal-gold); font-size: .7em; font-style: normal; }
.aal-brand p { margin: 6px 0 0; color: #293858; font-size: 18px; }
.aal-top-actions { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.aal-credit-pill { height: 54px; padding: 0 13px; display: flex; align-items: center; gap: 8px; color: var(--aal-navy); white-space: nowrap; border: 1px solid var(--aal-line); border-radius: 12px; background: #fff; text-decoration: none; cursor: pointer; }
.aal-credit-pill:hover { color: var(--aal-navy); border-color: #8bb7f6; text-decoration: none; }
.aal-credit-pill strong { color: #075be7; font-size: 24px; }
.aal-credit-star, .aal-cost i { display: inline-grid; place-items: center; color: #fff; background: var(--aal-gold); border-radius: 50%; font-style: normal; }
.aal-credit-star { width: 34px; height: 34px; font-size: 19px; }
.aal-auth-buttons { display: flex; gap: 7px; }
.aal-app .aal-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 1.5px solid transparent; border-radius: 10px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.aal-app .aal-button:hover { transform: translateY(-1px); text-decoration: none; }
.aal-app .aal-button-primary { color: #fff; border-color: var(--aal-blue); background: linear-gradient(135deg, #0c75ff, #0456e8); box-shadow: 0 7px 16px rgba(8,105,246,.18); }
.aal-app .aal-button-outline { color: var(--aal-blue-dark); border-color: var(--aal-blue); background: #fff; }
.aal-icon-button { position: relative; width: 44px; height: 44px; padding: 0; color: #35466d; border: 0; background: transparent; cursor: pointer; font-size: 29px; }
.aal-icon-button span { position: absolute; width: 9px; height: 9px; right: 7px; top: 5px; border-radius: 50%; background: #1c83ff; }
.aal-notice-popover { position: absolute; z-index: 25; right: 0; top: 58px; width: 275px; padding: 17px; border: 1px solid var(--aal-line); border-radius: 14px; background: #fff; box-shadow: var(--aal-shadow); }
.aal-notice-popover p { margin: 5px 0 0; color: var(--aal-muted); }
.aal-signed-user { display: flex; align-items: center; gap: 8px; padding: 6px; border: 1px solid var(--aal-line); border-radius: 12px; }
.aal-user-avatar { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: var(--aal-blue); font-weight: 800; }
.aal-signed-user > span:nth-child(2) { display: flex; flex-direction: column; max-width: 100px; }
.aal-signed-user small { color: var(--aal-muted); font-size: 10px; }
.aal-signed-user a { padding: 8px; color: #405375; text-decoration: none; font-size: 22px; }

.aal-toolbar { display: grid; grid-template-columns: 230px 275px minmax(330px, 1fr); gap: 15px; align-items: center; padding: 18px 35px 12px; }
.aal-select-pill { min-height: 56px; display: flex; align-items: center; gap: 8px; padding: 0 13px; border: 1px solid var(--aal-line); border-radius: 12px; background: #fff; font-size: 16px; }
.aal-select-pill > span { color: var(--aal-blue); font-size: 22px; }
.aal-select-pill select { min-width: 0; flex: 1; height: 42px; margin: 0; padding: 0 20px 0 4px; color: var(--aal-navy); border: 0; background-color: transparent; box-shadow: none; font-weight: 700; }
.aal-search-box { min-height: 56px; display: grid; grid-template-columns: 1fr auto; gap: 9px; }
.aal-search-box input { width: 100%; height: 56px; margin: 0; padding: 0 15px; color: var(--aal-navy); border: 1px solid #aebfd7; border-radius: 12px; background: #fff; box-shadow: none; }
.aal-search-button { min-width: 90px; }

.aal-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 305px; gap: 19px; padding: 7px 35px 0; }
.aal-section-heading { display: flex; align-items: center; gap: 10px; margin: 3px 0 11px; }
.aal-section-heading span { color: var(--aal-blue); font-size: 28px; }
.aal-section-heading h2 { margin: 0; color: var(--aal-navy); font-size: 24px; font-weight: 800; }
.aal-menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.aal-menu-card { position: relative; min-height: 125px; display: grid; grid-template-columns: 76px 1fr; grid-template-rows: 1fr auto; gap: 0 10px; align-items: center; padding: 14px 12px 12px; overflow: hidden; color: var(--aal-navy); border: 1px solid #dbe4f0; border-radius: 14px; background: #fff; box-shadow: 0 3px 9px rgba(21,61,120,.04); text-align: left; cursor: pointer; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.aal-menu-card:hover { transform: translateY(-2px); border-color: #8bb7f6; box-shadow: var(--aal-shadow); }
.aal-menu-card.is-selected { color: #fff; border-color: var(--aal-blue); background: linear-gradient(135deg, #0d75ff, #0456eb); box-shadow: 0 11px 25px rgba(8,105,246,.23); }
.aal-card-number { position: absolute; left: 8px; top: 7px; width: 25px; height: 25px; display: grid; place-items: center; color: #06164b; border-radius: 50%; background: #f6f8fc; font-weight: 800; }
.aal-menu-icon { grid-row: 1 / 3; width: 69px; height: 69px; display: grid; place-items: center; color: #0d68ee; border-radius: 20px; background: #eaf3ff; font-size: 34px; font-weight: 900; }
.aal-tone-sky { color: #1a6dd8; background: #e9f6ff; }.aal-tone-teal,.aal-tone-aqua { color: #0cb7a8; background: #e8fbf8; }.aal-tone-violet,.aal-tone-purple { color: #6e55dd; background: #f0edff; }.aal-tone-orange { color: #ff8b20; background: #fff5e8; }.aal-tone-indigo,.aal-tone-navy { color: #356fd1; background: #edf4ff; }.aal-tone-mint,.aal-tone-green { color: #11a99b; background: #eafbf9; }.aal-tone-pink { color: #ef5e93; background: #fff0f6; }
.aal-menu-card.is-selected .aal-menu-icon { color: #0b68ec; background: #fff; }
.aal-menu-copy { min-width: 0; display: flex; align-self: end; flex-direction: column; }
.aal-menu-copy b { color: inherit; font-size: 18px; line-height: 1.2; }
.aal-menu-copy small { margin-top: 5px; overflow: hidden; color: #4c5c78; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.aal-menu-card.is-selected .aal-menu-copy small { color: #e9f2ff; }
.aal-cost { justify-self: end; padding: 3px 7px; color: #233452; border: 1px solid #e0e6ef; border-radius: 8px; background: #fff; font-size: 12px; white-space: nowrap; }
.aal-cost i { width: 19px; height: 19px; margin-right: 2px; font-size: 11px; }
.aal-selected-check { position: absolute; right: 8px; top: 6px; opacity: 0; }
.aal-menu-card.is-selected .aal-selected-check { opacity: 1; }
.aal-empty-state { min-height: 160px; display: grid; place-items: center; color: var(--aal-muted); border: 1px dashed #9eb4d0; border-radius: 14px; background: #f8fbff; }
.aal-main-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; max-width: 760px; margin: 14px auto; }

.aal-hero-panel { position: relative; min-height: 650px; overflow: hidden; border-radius: 28px; background: radial-gradient(circle at 60% 35%, #dcecff 0, #eff7ff 38%, transparent 70%); }
.aal-hero-panel img { position: absolute; z-index: 2; width: 118%; max-width: none; height: 88%; left: 50%; bottom: 0; transform: translateX(-50%); object-fit: contain; object-position: bottom center; filter: drop-shadow(0 14px 16px rgba(18,57,112,.12)); }
.aal-hero-decoration { position: absolute; inset: 20px 15px auto; display: flex; justify-content: space-between; color: #81b7f3; font-size: 25px; }
.aal-hero-decoration span:nth-child(2) { margin-top: 65px; }
.aal-hero-bubble { position: absolute; z-index: 4; left: 16px; right: 16px; top: 95px; padding: 12px 14px; display: flex; flex-direction: column; border: 1px solid #bed5f1; border-radius: 14px; background: rgba(255,255,255,.92); box-shadow: var(--aal-shadow); }
.aal-hero-bubble b { color: var(--aal-blue-dark); }.aal-hero-bubble span { margin-top: 2px; color: var(--aal-muted); font-size: 12px; }

.aal-bottom-nav { min-height: 70px; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 28px 17px; border: 1px solid var(--aal-line); border-radius: 13px; background: #fff; box-shadow: 0 -5px 23px rgba(28,67,122,.05); }
.aal-bottom-nav a, .aal-bottom-nav button { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0; padding: 0; color: var(--aal-navy); border: 0; background: transparent; text-decoration: none; cursor: pointer; }
.aal-bottom-nav span { font-size: 27px; }.aal-bottom-nav .is-active { color: var(--aal-blue); }
.aal-bottom-nav .is-active::after { content: ""; position: absolute; left: 25%; right: 25%; bottom: 0; height: 3px; border-radius: 5px 5px 0 0; background: var(--aal-blue); }

.aal-modal-backdrop { position: fixed; z-index: 999999; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(4,16,47,.52); backdrop-filter: blur(4px); }
.aal-modal-card { position: relative; width: min(900px, 100%); max-height: calc(100vh - 30px); overflow: auto; padding: 27px 32px 24px; color: var(--aal-navy); border-radius: 22px; background: #fff; box-shadow: 0 28px 80px rgba(4,16,47,.3); }
.aal-modal-close { position: absolute; right: 15px; top: 13px; width: 38px; height: 38px; padding: 0; color: #65718a; border: 0; border-radius: 50%; background: #f0f4f9; font-size: 26px; cursor: pointer; }
.aal-preview-back { margin: 0 0 17px; padding: 7px 11px; color: var(--aal-blue-dark); border: 0; border-radius: 9px; background: #eef5ff; font-weight: 700; cursor: pointer; }
.aal-preview-header { display: grid; grid-template-columns: 85px 1fr; align-items: center; gap: 17px; padding-right: 30px; }
.aal-preview-header .aal-menu-icon { grid-row: auto; }.aal-preview-header h2 { margin: 5px 0 3px; color: var(--aal-navy); font-size: 29px; }.aal-preview-header p { margin: 0; color: var(--aal-muted); }
.aal-free-preview { display: inline-flex; padding: 4px 9px; color: #08775e; border-radius: 20px; background: #e8faf4; font-size: 12px; font-weight: 800; }
.aal-preview-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }.aal-preview-meta > span { padding: 7px 11px; color: #294066; border: 1px solid #d6e1ef; border-radius: 9px; background: #f8fbff; font-size: 13px; font-weight: 700; }.aal-preview-meta .aal-preview-cost { color: #9a6500; border-color: #f2d897; background: #fffaf0; }
.aal-upload-zone { padding: 24px; display: flex; flex-direction: column; align-items: center; border: 2px dashed #9dbfed; border-radius: 15px; background: #f6faff; text-align: center; }.aal-upload-camera { width: 63px; height: 63px; margin-bottom: 8px; display: grid; place-items: center; color: #fff; border-radius: 19px; background: var(--aal-blue); font-size: 31px; }.aal-upload-zone p { margin: 4px 0 14px; color: var(--aal-muted); }.aal-upload-zone > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }.aal-file-button { position: relative; }.aal-file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; }.aal-file-name { max-width: 100%; margin-top: 11px; overflow: hidden; color: #31547d; text-overflow: ellipsis; white-space: nowrap; }
.aal-step-demo { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }.aal-step-demo > div { min-height: 90px; display: flex; gap: 9px; padding: 13px; border: 1px solid #dce5f1; border-radius: 13px; background: #f8fbff; }.aal-step-demo i { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: var(--aal-blue); font-style: normal; }.aal-step-demo span { display: flex; flex-direction: column; gap: 3px; }.aal-step-demo small { color: var(--aal-muted); }
.aal-plan-demo { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }.aal-plan-demo > div { padding: 13px; display: flex; flex-direction: column; gap: 4px; border: 1px solid #cfe8e2; border-radius: 13px; background: #f3fcf9; }.aal-plan-demo span { color: #418173; font-size: 12px; }
.aal-preview-form { margin-top: 18px; padding: 17px; border: 1px solid #dbe5f1; border-radius: 15px; background: #fff; }.aal-preview-form h3 { margin: 0 0 10px; color: var(--aal-navy); font-size: 18px; }.aal-choice-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; }.aal-choice-row button { min-height: 38px; margin: 0; padding: 7px 12px; color: #334d73; border: 1px solid #b9cae1; border-radius: 20px; background: #fff; cursor: pointer; }.aal-choice-row button:hover,.aal-choice-row button.is-active { color: #fff; border-color: var(--aal-blue); background: var(--aal-blue); }.aal-preview-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }.aal-preview-form textarea { width: 100%; margin: 0; padding: 11px; color: var(--aal-navy); border: 1px solid #b8c8de; border-radius: 11px; background: #fbfdff; box-shadow: none; resize: vertical; font-weight: 400; }
.aal-preview-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 15px; }.aal-preview-note { display: block; margin-top: 10px; color: #7b8799; text-align: center; }
.aal-request-message { margin-top: 11px; padding: 11px 13px; color: #174b86; border: 1px solid #b8d3f5; border-radius: 10px; background: #f0f7ff; text-align: center; }.aal-request-message.is-error { color: #9b2535; border-color: #f0b8c0; background: #fff4f5; }
.aal-start-use.is-loading { position: relative; cursor: wait; opacity: .78; }
.aal-toast { position: fixed; z-index: 1000000; left: 50%; bottom: 28px; transform: translateX(-50%); padding: 12px 20px; color: #fff; border-radius: 30px; background: #10234e; box-shadow: 0 12px 30px rgba(6,20,48,.25); }
.aal-answer-view { display: grid; gap: 17px; }
.aal-answer-heading { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 14px; padding-right: 35px; }
.aal-answer-heading .aal-menu-icon { width: 70px; height: 70px; grid-row: auto; }
.aal-answer-heading h2 { margin: 6px 0 2px; color: var(--aal-navy); font-size: 29px; }
.aal-answer-heading p { margin: 0; color: var(--aal-muted); }
.aal-answer-badge { display: inline-flex; padding: 5px 10px; color: #08775e; border-radius: 20px; background: #e8faf4; font-size: 12px; font-weight: 800; }
.aal-answer-question,.aal-answer-panel,.aal-answer-summary,.aal-answer-check { padding: 17px; border: 1px solid #dbe5f1; border-radius: 15px; background: #fff; }
.aal-answer-question { border-color: #b7cef0; background: #f6faff; }
.aal-answer-question small { color: var(--aal-muted); font-weight: 700; }
.aal-answer-question p { margin: 6px 0 0; color: var(--aal-navy); font-size: 17px; white-space: pre-wrap; }
.aal-answer-panel h3,.aal-answer-summary h3,.aal-answer-check h3 { margin: 0 0 12px; color: var(--aal-navy); font-size: 18px; }
.aal-answer-steps { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.aal-answer-step { min-height: 112px; display: grid; grid-template-columns: 34px 1fr; gap: 3px 10px; padding: 14px; border: 1px solid #dce5f1; border-radius: 13px; background: #f8fbff; }
.aal-answer-step i { grid-row: 1/3; width: 34px; height: 34px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: var(--aal-blue); font-style: normal; font-weight: 800; }
.aal-answer-step b { color: var(--aal-navy); }
.aal-answer-step p { margin: 1px 0 0; color: var(--aal-muted); font-size: 13px; }
.aal-answer-insights { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aal-answer-summary { border-color: #a9dfcf; background: #f2fcf8; }
.aal-answer-summary h3 { color: #08775e; }
.aal-answer-check { border-color: #f0d28c; background: #fffaf0; }
.aal-answer-check h3 { color: #9a6500; }
.aal-answer-summary p,.aal-answer-check p { margin: 0; color: #52617b; }
.aal-ai-answer-panel { border-color: #b7cef0; background: #fbfdff; }
.aal-ai-answer { color: #223756; font-size: 16px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }

/* Dedicated member center */
.aal-member-dashboard {
  --aal-blue: #0969f6; --aal-blue-dark: #074bce; --aal-navy: #07164b; --aal-muted: #5f6c86; --aal-line: #d8e2f0; --aal-gold: #ffb000;
  width: min(1180px, calc(100% - 30px)); margin: 24px auto; color: var(--aal-navy); font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif; line-height: 1.5;
}
.aal-member-dashboard *, .aal-member-dashboard *::before, .aal-member-dashboard *::after { box-sizing: border-box; }
.aal-member-dashboard .aal-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 1.5px solid transparent; border-radius: 10px; font-weight: 700; text-decoration: none; }
.aal-member-dashboard .aal-button-primary { color: #fff; border-color: var(--aal-blue); background: linear-gradient(135deg,#0c75ff,#0456e8); box-shadow: 0 7px 16px rgba(8,105,246,.18); }
.aal-member-dashboard .aal-button-outline { color: var(--aal-blue-dark); border-color: var(--aal-blue); background: #fff; }
.aal-member-guest { max-width: 680px; margin: 60px auto; padding: 45px 35px; border: 1px solid var(--aal-line); border-radius: 24px; background: #fff; box-shadow: 0 18px 55px rgba(17,57,117,.12); text-align: center; }
.aal-member-lock { width: 66px; height: 66px; margin: 0 auto 14px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: var(--aal-gold); font-size: 30px; }
.aal-member-guest h2 { margin: 0; font-size: 32px; }.aal-member-guest p { color: var(--aal-muted); }.aal-member-guest > div { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.aal-member-welcome { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 28px 34px; border-radius: 24px; background: linear-gradient(135deg,#071c55,#0969f6); box-shadow: 0 18px 45px rgba(6,73,181,.2); color: #fff; }
.aal-member-person { display: flex; align-items: center; gap: 17px; }.aal-member-person .aal-user-avatar { width: 64px; height: 64px; background: #fff; color: var(--aal-blue); font-size: 26px; }.aal-member-person small { color: #bcd7ff; }.aal-member-person h2 { margin: 0; color: #fff; font-size: 31px; }.aal-member-person p { margin: 3px 0 0; color: #d9e9ff; }
.aal-member-credit { min-width: 210px; display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 0 10px; padding: 16px 19px; border: 1px solid rgba(255,255,255,.27); border-radius: 17px; background: rgba(255,255,255,.12); }.aal-member-credit > span { grid-row: 1/3; width: 40px; height: 40px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: var(--aal-gold); }.aal-member-credit small { color: #d9e9ff; }.aal-member-credit strong { font-size: 27px; }.aal-member-credit a { grid-column: 1/-1; margin-top: 7px; color: #fff; text-align: right; text-decoration: underline; }
.aal-member-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 20px 0; }.aal-member-action { min-height: 115px; display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 13px; padding: 19px; color: var(--aal-navy); border: 1px solid var(--aal-line); border-radius: 17px; background: #fff; box-shadow: 0 7px 22px rgba(20,63,123,.07); text-decoration: none; }.aal-member-action:hover { color: var(--aal-navy); border-color: #8bb7f6; text-decoration: none; transform: translateY(-2px); }.aal-member-action > span { width: 55px; height: 55px; display: grid; place-items: center; color: var(--aal-blue); border-radius: 15px; background: #eaf3ff; font-size: 25px; }.aal-member-action div { display: flex; flex-direction: column; }.aal-member-action b { font-size: 18px; }.aal-member-action small { margin-top: 4px; color: var(--aal-muted); }.aal-member-action i { color: var(--aal-blue); font-size: 24px; font-style: normal; }.aal-member-action.is-primary { color: #fff; border-color: var(--aal-blue); background: linear-gradient(135deg,#0c75ff,#0456e8); }.aal-member-action.is-primary:hover { color: #fff; }.aal-member-action.is-primary > span { background: #fff; }.aal-member-action.is-primary small,.aal-member-action.is-primary i { color: #e6f0ff; }
.aal-topup-section,.aal-member-history { margin-top: 20px; padding: 27px; border: 1px solid var(--aal-line); border-radius: 20px; background: #fff; box-shadow: 0 7px 22px rgba(20,63,123,.06); scroll-margin-top: 25px; }.aal-member-section-title { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 20px; }.aal-member-section-title > div { display: flex; align-items: center; gap: 9px; }.aal-member-section-title span { color: var(--aal-blue); font-size: 26px; }.aal-member-section-title h2 { margin: 0; color: var(--aal-navy); font-size: 26px; }.aal-member-section-title p { margin: 0; color: var(--aal-muted); }
.aal-package-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }.aal-package-card { position: relative; padding: 23px; overflow: hidden; border: 1px solid var(--aal-line); border-radius: 18px; background: #f8fbff; text-align: center; }.aal-package-card.is-featured { border: 2px solid var(--aal-blue); background: linear-gradient(180deg,#eef6ff,#fff); }.aal-package-label { position: absolute; right: 12px; top: 10px; padding: 4px 9px; color: #815500; border-radius: 20px; background: #fff0b8; font-size: 12px; font-weight: 800; }.aal-package-credit { margin-top: 16px; display: flex; justify-content: center; align-items: baseline; gap: 6px; }.aal-package-credit strong { color: var(--aal-blue); font-size: 38px; }.aal-package-credit small { color: var(--aal-muted); }.aal-package-price { margin: 7px 0 17px; }.aal-package-price b { font-size: 26px; }.aal-package-card .aal-button { width: 100%; }.aal-topup-note { margin: 16px 0 0; color: var(--aal-muted); font-size: 13px; text-align: center; }
.aal-history-list { display: flex; flex-direction: column; }.aal-history-row { display: grid; grid-template-columns: 1fr 100px 130px; align-items: center; gap: 12px; padding: 13px 3px; border-bottom: 1px solid #edf1f6; }.aal-history-row:last-child { border-bottom: 0; }.aal-history-row > span { display: flex; flex-direction: column; }.aal-history-row small,.aal-history-row em { color: var(--aal-muted); font-size: 12px; font-style: normal; }.aal-history-row > strong { text-align: right; font-size: 19px; }.aal-history-row .is-plus { color: #06966c; }.aal-history-row .is-minus { color: #e5485a; }.aal-empty-history { padding: 27px; color: var(--aal-muted); border: 1px dashed #b5c5da; border-radius: 14px; background: #f8fbff; text-align: center; }.aal-member-footer { display: flex; justify-content: center; gap: 25px; padding: 24px; }.aal-member-footer a { color: var(--aal-blue-dark); font-weight: 700; }

/* Dedicated AI tutor login. Kept separate from the site's existing login. */
.aal-login-page {
  --aal-blue: #0969f6; --aal-blue-dark: #074bce; --aal-navy: #07164b; --aal-muted: #5f6c86; --aal-line: #d8e2f0;
  width: min(540px, calc(100% - 30px)); margin: 45px auto; color: var(--aal-navy); font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif; line-height: 1.5;
}
.aal-login-page *, .aal-login-page *::before, .aal-login-page *::after { box-sizing: border-box; }
.aal-login-card { padding: 34px; border: 1px solid var(--aal-line); border-radius: 22px; background: #fff; box-shadow: 0 18px 55px rgba(17,57,117,.12); }
.aal-login-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.aal-login-mark { width: 55px; height: 55px; flex: 0 0 55px; display: grid; place-items: center; color: #fff; border-radius: 16px; background: linear-gradient(135deg,#0c75ff,#0456e8); font-size: 25px; font-weight: 800; }
.aal-login-heading h2,.aal-login-signed-in h2 { margin: 0; color: var(--aal-navy); font-size: 25px; }.aal-login-heading p,.aal-login-signed-in p { margin: 3px 0 0; color: var(--aal-muted); }
.aal-login-form { display: flex; flex-direction: column; gap: 9px; }.aal-login-form label { color: var(--aal-navy); font-weight: 700; }.aal-login-form label > span { color: #e5485a; }
.aal-login-form > input[type="text"],.aal-login-form > input[type="email"],.aal-login-form > input[type="password"] { width: 100%; height: 50px; margin: 0 0 7px; padding: 0 13px; color: var(--aal-navy); border: 1px solid #b8c8de; border-radius: 10px; background: #fff; box-shadow: none; }
.aal-login-form > input:focus { border-color: var(--aal-blue); outline: 2px solid rgba(9,105,246,.12); }
.aal-login-options { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 10px; }.aal-login-options label { display: flex; align-items: center; gap: 7px; font-weight: 500; }.aal-login-options input { margin: 0; }.aal-login-options a,.aal-login-register a { color: var(--aal-blue-dark); font-weight: 700; text-decoration: none; }
.aal-login-submit { width: 100%; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; color: #fff; border: 0; border-radius: 10px; background: linear-gradient(135deg,#0c75ff,#0456e8); box-shadow: 0 7px 16px rgba(8,105,246,.18); font-weight: 800; text-decoration: none; cursor: pointer; }
.aal-login-submit:hover { color: #fff; text-decoration: none; transform: translateY(-1px); }.aal-login-register { margin: 20px 0 0; color: var(--aal-muted); text-align: center; }
.aal-login-error { margin: 0 0 18px; padding: 11px 13px; color: #9b2535; border: 1px solid #f0b8c0; border-radius: 10px; background: #fff4f5; }
.aal-login-signed-in { display: flex; align-items: center; flex-direction: column; text-align: center; }.aal-login-signed-in .aal-login-mark { margin-bottom: 12px; }.aal-login-signed-in .aal-login-submit { margin-top: 20px; }
.aal-register-page { width: min(620px, calc(100% - 30px)); }.aal-register-note { margin: -1px 0 9px; color: var(--aal-muted); font-size: 13px; }.aal-register-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 1200px) {
  .aal-topbar { padding-inline: 24px; }.aal-credit-pill > span:nth-child(2) { display: none; }
  .aal-toolbar { grid-template-columns: 1fr 1fr; padding-inline: 24px; }.aal-search-box { grid-column: 1 / -1; }
  .aal-content-layout { grid-template-columns: 1fr; padding-inline: 24px; }.aal-hero-panel { display: none; }
}

@media (max-width: 780px) {
  .aal-app { margin: 0; border-radius: 0; }.aal-topbar { align-items: flex-start; flex-direction: column; padding: 17px; }
  .aal-brand { min-width: 0; gap: 11px; }.aal-brand-mark { width: 52px; height: 52px; flex-basis: 52px; border-radius: 15px; }.aal-brand h1 { font-size: 26px; }.aal-brand p { font-size: 14px; }
  .aal-top-actions { width: 100%; justify-content: flex-start; flex-wrap: wrap; }.aal-auth-buttons { flex: 1; }.aal-auth-buttons .aal-button { flex: 1; padding-inline: 10px; }.aal-icon-button { margin-left: auto; }
  .aal-toolbar { grid-template-columns: 1fr; gap: 9px; padding: 13px 15px; }.aal-search-box { grid-column: auto; }.aal-content-layout { padding-inline: 15px; }
  .aal-menu-grid { grid-template-columns: 1fr; }.aal-menu-card { min-height: 110px; grid-template-columns: 68px 1fr; }.aal-menu-icon { width: 62px; height: 62px; }
  .aal-main-actions { grid-template-columns: 1fr; gap: 8px; }.aal-bottom-nav { position: sticky; z-index: 20; bottom: 0; min-height: 65px; margin: 11px 0 0; border-radius: 12px 12px 0 0; }.aal-bottom-nav a,.aal-bottom-nav button { flex-direction: column; gap: 0; font-size: 11px; }.aal-bottom-nav span { font-size: 22px; }
  .aal-modal-backdrop { padding: 7px; }.aal-modal-card { padding: 19px 15px 17px; border-radius: 16px; }.aal-preview-header { grid-template-columns: 65px 1fr; gap: 10px; }.aal-preview-header .aal-menu-icon { width: 60px; height: 60px; }.aal-preview-header h2 { font-size: 22px; }.aal-step-demo,.aal-plan-demo,.aal-preview-actions { grid-template-columns: 1fr; }
  .aal-answer-steps,.aal-answer-insights { grid-template-columns: 1fr; }
  .aal-answer-heading { grid-template-columns: 60px 1fr; }
  .aal-answer-heading .aal-menu-icon { width: 58px; height: 58px; }
  .aal-answer-heading h2 { font-size: 22px; }
  .aal-member-dashboard { width: calc(100% - 20px); margin: 12px auto; }.aal-member-welcome { align-items: flex-start; flex-direction: column; padding: 21px; }.aal-member-credit { width: 100%; }.aal-member-actions,.aal-package-grid { grid-template-columns: 1fr; }.aal-member-action { min-height: 95px; }.aal-topup-section,.aal-member-history { padding: 18px; }.aal-member-section-title { align-items: flex-start; flex-direction: column; }.aal-history-row { grid-template-columns: 1fr auto; }.aal-history-row em { grid-column: 1/-1; }.aal-member-guest { margin: 25px auto; padding: 30px 20px; }.aal-member-guest > div { flex-direction: column; }
  .aal-login-page { width: calc(100% - 20px); margin: 22px auto; }.aal-login-card { padding: 24px 19px; }.aal-login-heading { align-items: flex-start; }.aal-login-options { align-items: flex-start; flex-direction: column; }
}
