.ap-shell {
--ap-border: rgba(255, 255, 255, 0.1);
--ap-surface: rgba(12, 16, 24, 0.92);
--ap-surface-soft: rgba(255, 255, 255, 0.03);
--ap-panel: rgba(0, 0, 0, 0.32);
--ap-text-dim: rgba(255, 255, 255, 0.6); position: relative;
z-index: 2;
isolation: isolate;
}
.ap-mealtab:focus-visible,
.ap-viewbtn:focus-visible,
.ap-scenario:focus-visible,
.ap-details summary:focus-visible {
outline: 2px solid var(--primary, #00f2fe);
outline-offset: 2px;
} .ap-frame {
position: relative;
border-radius: 26px;
border: 1px solid var(--ap-border);
background: linear-gradient(180deg, rgba(14, 19, 28, 0.96), rgba(6, 9, 14, 0.98));
box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
overflow: hidden;
isolation: isolate;
}
.ap-frame-top {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 14px;
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
background: rgba(255, 255, 255, 0.03);
}
.ap-frame-dots { display: inline-flex; gap: 6px; flex-shrink: 0; }
.ap-frame-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.ap-frame-dots span:first-child { background: rgba(255, 95, 87, 0.75); }
.ap-frame-dots span:nth-child(2) { background: rgba(255, 189, 46, 0.75); }
.ap-frame-dots span:nth-child(3) { background: rgba(40, 200, 100, 0.7); }
.ap-frame-url {
flex: 1 1 auto;
min-width: 0;
padding: 5px 12px;
border-radius: 999px;
background: rgba(0, 0, 0, 0.4);
border: 1px solid rgba(255, 255, 255, 0.08);
color: var(--ap-text-dim);
font-size: 0.74rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.ap-frame-live {
display: inline-flex;
align-items: center;
gap: 6px;
flex-shrink: 0;
font-size: 0.68rem;
font-weight: 800;
letter-spacing: 0.6px;
text-transform: uppercase;
color: #8bf1bf;
}
.ap-frame-notch {
display: none;
align-items: center;
justify-content: center;
gap: 8px;
padding: 7px 16px 5px;
color: var(--ap-text-dim);
font-size: 0.68rem;
font-weight: 700;
}
.ap-frame-notch::before {
content: "";
width: 54px;
height: 5px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.18);
} .ap-appbar {
display: flex;
align-items: center;
gap: 9px;
padding: 9px 13px;
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
background: rgba(10, 14, 20, 0.92);
}
.ap-appbar-logo {
flex: 0 0 30px;
width: 30px;
height: 30px;
display: grid;
place-items: center;
}
.ap-appbar-logo svg { width: 28px; height: 28px; overflow: visible; }
.ap-appbar-title {
flex: 1 1 auto;
min-width: 0;
font-size: 0.82rem;
font-weight: 800;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.ap-appbar-title em {
font-style: normal;
font-size: 0.56rem;
font-weight: 900;
letter-spacing: 0.08em;
padding: 2px 5px;
margin-left: 4px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.7);
vertical-align: 2px;
}
.ap-appbar-tier {
flex: 0 0 auto;
padding: 3px 9px;
border-radius: 999px;
background: linear-gradient(135deg, #ffd700, #ffa500);
color: #1a1200;
font-size: 0.58rem;
font-weight: 900;
letter-spacing: 0.08em;
} .ap-stage { height: 520px; padding: 12px; overflow: hidden; }
.ap-stage .ap-split { height: 100%; min-height: 0; } .ap-pane {
display: flex;
flex-direction: column;
min-height: 0;
padding: 0;
margin: 0;
} .ap-pane-scroll,
.ap-viewport {
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-width: thin;
scrollbar-color: rgba(0, 242, 254, 0.5) rgba(255, 255, 255, 0.05);
}
.ap-pane-scroll { flex: 1 1 auto; min-height: 0; padding-right: 4px; }
.ap-viewport { padding: 14px; max-height: 520px; }
.ap-viewport::-webkit-scrollbar,
.ap-pane-scroll::-webkit-scrollbar { width: 6px; }
.ap-viewport::-webkit-scrollbar-thumb,
.ap-pane-scroll::-webkit-scrollbar-thumb {
background: linear-gradient(180deg, rgba(0, 242, 254, 0.8), rgba(0, 242, 254, 0.3));
border-radius: 999px;
} .ap-bottomnav {
display: none;
align-items: flex-end;
justify-content: space-around;
padding: 8px 6px 10px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
background: linear-gradient(180deg, rgba(15, 20, 30, 0.85), rgba(5, 10, 15, 0.98));
}
.ap-navitem {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
gap: 3px;
flex: 1;
padding: 4px 0;
border: 0;
background: transparent;
font: inherit;
font-size: 0.56rem;
font-weight: 700;
letter-spacing: 0.4px;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.42);
cursor: pointer;
transition: color 0.2s ease, transform 0.15s ease;
}
.ap-navitem i { font-size: 1.18rem; line-height: 1; }
.ap-navitem.is-active { color: var(--primary, #00f2fe); }
.ap-navitem.is-active i { transform: translateY(-1px) scale(1.12); filter: drop-shadow(0 3px 7px rgba(0, 242, 254, 0.4)); }
.ap-navitem.is-disabled { opacity: 0.5; cursor: default; }
.ap-navitem:not(.is-disabled):active { transform: scale(0.94); }
.ap-navitem:focus-visible {
outline: 2px solid var(--primary, #00f2fe);
outline-offset: -2px;
border-radius: 10px;
}
.ap-navitem.has-update::after {
content: "";
position: absolute;
top: 2px;
right: calc(50% - 14px);
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--accent, #ff0055);
box-shadow: 0 0 8px rgba(255, 0, 85, 0.8);
animation: apDot 1.4s ease-in-out infinite;
}
.ap-navfab {
flex: 0 0 auto;
width: 48px;
height: 48px;
margin-top: -22px;
border-radius: 50%;
display: grid;
place-items: center;
font-size: 1.1rem;
color: #04121a;
background: linear-gradient(135deg, #00f2fe, #0099cc);
border: 3px solid #0a0d14;
box-shadow: 0 8px 24px rgba(0, 242, 254, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.4);
} .ap-plan {
container-type: inline-size;
container-name: apPlan;
display: grid;
gap: 14px;
} .ap-viewtoggle {
display: flex;
gap: 8px;
}
.ap-viewbtn {
flex: 1 1 0;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 10px 12px;
border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.12);
background: rgba(255, 255, 255, 0.04);
color: rgba(255, 255, 255, 0.72);
font: inherit;
font-size: 0.8rem;
font-weight: 800;
cursor: pointer;
transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.ap-viewbtn:hover { color: #fff; border-color: rgba(0, 242, 254, 0.45); }
.ap-viewbtn.is-active {
color: #04121a;
border-color: rgba(0, 242, 254, 0.9);
background: linear-gradient(135deg, #00f2fe, #22d3ee);
box-shadow: 0 10px 24px rgba(0, 242, 254, 0.28);
} .ap-mealtabs {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 14px;
}
.ap-mealtab {
flex: 1 1 108px;
max-width: 168px;
display: grid;
gap: 1px;
padding: 8px 10px;
border-radius: 14px;
border: 1px solid rgba(255, 255, 255, 0.12);
background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
color: #fff;
font: inherit;
text-align: center;
cursor: pointer;
transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.ap-mealtab-l { font-size: 0.79rem; font-weight: 800; letter-spacing: 0.2px; }
.ap-mealtab-k { font-size: 0.68rem; font-weight: 800; color: var(--primary, #00f2fe); }
.ap-mealtab:hover { transform: translateY(-2px); border-color: rgba(0, 242, 254, 0.45); }
.ap-mealtab.is-active {
border-color: rgba(0, 242, 254, 0.85);
background: linear-gradient(180deg, rgba(0, 242, 254, 0.16), rgba(0, 242, 254, 0.05));
box-shadow: 0 12px 28px rgba(0, 242, 254, 0.22), inset 0 0 0 1px rgba(0, 242, 254, 0.25);
} .ap-plan-body { display: grid; gap: 18px; }
.ap-recipe-col { min-width: 0; }
.ap-training-col { min-width: 0; }
.ap-recipe,
.ap-training {
padding: 18px;
border-radius: 18px;
border: 1px solid var(--ap-border);
background: var(--ap-surface-soft);
}
.ap-training { border-color: rgba(255, 0, 85, 0.2); } .ap-tags {
display: flex;
flex-wrap: wrap;
gap: 7px;
margin-bottom: 11px;
}
.ap-tag {
padding: 4px 11px;
border-radius: 999px;
font-size: 0.63rem;
font-weight: 800;
letter-spacing: 0.06em;
text-transform: uppercase;
border: 1px solid;
white-space: nowrap;
}
.ap-tag.is-green { color: #7df3b0; border-color: rgba(0, 255, 136, 0.45); background: rgba(0, 255, 136, 0.1); }
.ap-tag.is-cyan { color: #7fe9ff; border-color: rgba(0, 242, 254, 0.45); background: rgba(0, 242, 254, 0.1); }
.ap-tag.is-blue { color: #9bb8ff; border-color: rgba(96, 130, 255, 0.45); background: rgba(96, 130, 255, 0.1); }
.ap-tag.is-purple { color: #e3a8ff; border-color: rgba(196, 108, 255, 0.45); background: rgba(196, 108, 255, 0.1); } .ap-macrobar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ap-macrochip {
display: inline-flex;
align-items: baseline;
gap: 5px;
padding: 4px 9px;
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.09);
background: var(--ap-panel);
}
.ap-macrochip i {
font-style: normal;
font-size: 0.62rem;
color: var(--ap-text-dim);
}
.ap-macrochip b { font-size: 0.72rem; font-weight: 800; color: #fff; }
.ap-macrochip.is-kcal { border-color: rgba(0, 242, 254, 0.3); }
.ap-macrochip.is-kcal b { color: var(--primary, #00f2fe); } .ap-actions {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 16px;
}
.ap-iconbtn {
width: 34px;
height: 34px;
flex: 0 0 34px;
border-radius: 50%;
display: grid;
place-items: center;
font-size: 0.8rem;
border: 1px solid var(--ap-border);
background: rgba(0, 0, 0, 0.35);
color: var(--primary, #00f2fe);
}
.ap-iconbtn.is-accent { color: #ff7aa3; border-color: rgba(255, 0, 85, 0.28); }
.ap-metapill {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 12px;
border-radius: 999px;
border: 1px solid rgba(0, 242, 254, 0.22);
background: rgba(0, 242, 254, 0.06);
color: rgba(255, 255, 255, 0.82);
font-size: 0.72rem;
white-space: nowrap;
}
.ap-recipe-title {
margin: 0 0 9px;
font-size: 1.32rem;
font-weight: 800;
line-height: 1.2;
color: var(--primary, #00f2fe);
}
.ap-recipe-desc {
margin: 0 0 18px;
font-size: 0.8rem;
line-height: 1.5;
color: var(--ap-text-dim);
}
.ap-sec-title {
display: flex;
align-items: center;
gap: 7px;
margin: 0 0 11px;
font-size: 0.84rem;
font-weight: 800;
color: #fff;
} .ap-ing {
list-style: none;
margin: 0 0 20px;
padding: 0;
display: grid;
grid-template-columns: 1fr;
gap: 10px;
}
.ap-ing-item {
display: flex;
align-items: center;
gap: 10px;
padding: 11px 13px;
border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.08);
background: var(--ap-panel);
font-size: 0.8rem;
color: rgba(255, 255, 255, 0.88);
}
.ap-ing-box {
flex: 0 0 17px;
width: 17px;
height: 17px;
border-radius: 50%;
border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.ap-ing-tx { flex: 1 1 auto; min-width: 0; line-height: 1.35; }
.ap-ing-mag {
flex: 0 0 26px;
width: 26px;
height: 26px;
border-radius: 8px;
display: grid;
place-items: center;
font-size: 0.66rem;
border: 1px solid rgba(255, 255, 255, 0.12);
background: rgba(255, 255, 255, 0.04);
color: rgba(255, 255, 255, 0.55);
} .ap-macropanel {
display: flex;
flex-wrap: wrap;
gap: 10px 24px;
margin-bottom: 20px;
padding: 13px 15px;
border-radius: 14px;
border: 1px solid rgba(255, 255, 255, 0.07);
background: var(--ap-panel);
}
.ap-macro { font-size: 0.78rem; white-space: nowrap; }
.ap-macro i { font-style: normal; color: var(--ap-text-dim); }
.ap-macro b { color: #fff; font-weight: 800; } .ap-steps,
.ap-exsteps {
list-style: none;
margin: 0 0 18px;
padding: 0;
display: grid;
gap: 13px;
}
.ap-steps li,
.ap-exsteps li {
display: flex;
align-items: flex-start;
gap: 11px;
font-size: 0.8rem;
line-height: 1.45;
color: rgba(255, 255, 255, 0.86);
}
.ap-step-n {
flex: 0 0 22px;
width: 22px;
height: 22px;
margin-top: 1px;
border-radius: 50%;
display: grid;
place-items: center;
font-size: 0.68rem;
font-weight: 800;
color: var(--primary, #00f2fe);
border: 1px solid rgba(0, 242, 254, 0.45);
background: rgba(0, 242, 254, 0.1);
}
.ap-step-n.is-accent {
color: #ff7aa3;
border-color: rgba(255, 0, 85, 0.45);
background: rgba(255, 0, 85, 0.12);
} .ap-note,
.ap-info {
padding: 11px 13px;
border-radius: 12px;
border: 1px solid rgba(0, 242, 254, 0.22);
background: rgba(0, 242, 254, 0.06);
font-size: 0.76rem;
line-height: 1.5;
color: rgba(255, 255, 255, 0.8);
}
.ap-note strong,
.ap-info strong { color: var(--primary, #00f2fe); }
.ap-note { margin: 0; }
.ap-info { margin: 0 0 10px; }  .ap-training-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
margin-bottom: 14px;
}
.ap-training-kicker {
display: inline-flex;
align-items: center;
gap: 9px;
margin: 0;
font-size: 1.02rem;
font-weight: 900;
color: #ff2d6f;
}
.ap-training-ic {
display: grid;
place-items: center;
width: 26px;
height: 26px;
border-radius: 50%;
border: 1px solid rgba(255, 0, 85, 0.4);
background: rgba(255, 0, 85, 0.12);
color: #ff5f8f;
font-size: 0.78rem;
}
.ap-actions-training { margin-bottom: 0; } .ap-training-cta { display: grid; gap: 8px; margin-top: 14px; }
.ap-btn-ghost {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 9px 14px;
border-radius: 999px;
border: 1px solid rgba(0, 242, 254, 0.28);
background: linear-gradient(135deg, rgba(0, 242, 254, 0.14), rgba(0, 242, 254, 0.04));
color: #d9fbff;
font-size: 0.78rem;
font-weight: 700;
}
.ap-training-title {
margin: 0 0 10px;
font-size: 1.18rem;
font-weight: 800;
line-height: 1.25;
color: #fff;
}
.ap-training-desc {
margin: 0 0 16px;
font-size: 0.79rem;
line-height: 1.5;
color: rgba(255, 255, 255, 0.78);
}
.ap-stats {
display: grid;
gap: 0;
margin-bottom: 18px;
padding: 4px 16px;
border-radius: 14px;
background: rgba(0, 0, 0, 0.4);
}
.ap-stat {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 10px 0;
font-size: 0.8rem;
color: var(--ap-text-dim);
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.ap-stat:last-child { border-bottom: 0; }
.ap-stat strong { color: #ff2d6f; font-size: 0.92rem; }
.ap-execution {
margin-bottom: 16px;
padding: 13px 15px;
border-radius: 14px;
border: 1px solid rgba(255, 0, 85, 0.55);
background: rgba(255, 0, 85, 0.04);
}
.ap-execution-title {
display: flex;
align-items: center;
gap: 7px;
margin: 0 0 11px;
font-size: 0.82rem;
font-weight: 800;
color: #ff5f8f;
}
.ap-execution .ap-exsteps { margin-bottom: 0; }
.ap-details {
margin-bottom: 16px;
border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.09);
background: var(--ap-panel);
}
.ap-details summary {
padding: 10px 13px;
font-size: 0.76rem;
font-weight: 700;
color: rgba(255, 255, 255, 0.78);
cursor: pointer;
}
.ap-details[open] summary { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.ap-training-blocks {
list-style: none;
margin: 0;
padding: 11px 13px;
display: grid;
gap: 7px;
font-size: 0.77rem;
color: rgba(255, 255, 255, 0.82);
}
.ap-training-blocks li {
padding: 7px 10px;
border-radius: 10px;
background: rgba(255, 0, 85, 0.06);
border: 1px solid rgba(255, 0, 85, 0.14);
line-height: 1.35;
}
.ap-warn {
margin: 0;
padding: 11px 13px;
border-radius: 12px;
border: 1px solid rgba(255, 0, 85, 0.55);
background: rgba(255, 0, 85, 0.05);
font-size: 0.76rem;
line-height: 1.5;
color: rgba(255, 255, 255, 0.84);
}
.ap-warn strong { color: #ff5f8f; } .ap-adjust {
display: grid;
gap: 7px;
padding: 10px;
border-radius: 12px;
border: 1px dashed rgba(0, 242, 254, 0.24);
background: rgba(0, 242, 254, 0.04);
}
.ap-adjust-title {
font-size: 0.64rem;
font-weight: 800;
letter-spacing: 0.6px;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.55);
}
.ap-adjust-list { display: flex; flex-wrap: wrap; gap: 7px; }
.ap-chip {
display: inline-flex;
align-items: center;
padding: 4px 9px;
border-radius: 999px;
font-size: 0.68rem;
font-weight: 800;
border: 1px solid rgba(255, 255, 255, 0.12);
background: rgba(255, 255, 255, 0.05);
color: rgba(255, 255, 255, 0.85);
}
.ap-chip.is-primary {
border-color: rgba(0, 242, 254, 0.32);
background: rgba(0, 242, 254, 0.12);
color: #a9f4ff;
} .ap-chat {
display: flex;
flex-direction: column;
border-radius: 16px;
border: 1px solid var(--ap-border);
background: var(--ap-surface);
overflow: hidden;
min-height: 0;
}
.ap-chat-head {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 12px;
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
background: rgba(255, 255, 255, 0.03);
}
.ap-chat-avatar { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; }
.ap-chat-avatar svg { width: 30px; height: 30px; overflow: visible; }
.ap-chat-info { display: flex; flex-direction: column; min-width: 0; }
.ap-chat-info strong { font-size: 0.86rem; font-weight: 800; }
.ap-chat-status {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 0.68rem;
color: rgba(255, 255, 255, 0.5);
}
.ap-dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: #00ff88;
box-shadow: 0 0 8px #00ff88;
animation: apDot 1.9s ease-in-out infinite;
}
.ap-chat-head-actions { display: none; margin-left: auto; gap: 6px; }
.ap-chat-msgs {
flex: 1 1 auto;
display: flex;
flex-direction: column;
gap: 10px;
padding: 12px;
min-height: 200px;
overflow-y: auto;
background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.1));
scrollbar-width: thin;
scrollbar-color: rgba(0, 242, 254, 0.5) transparent;
}
.ap-chat-msgs::-webkit-scrollbar { width: 5px; }
.ap-chat-msgs::-webkit-scrollbar-thumb { background: rgba(0, 242, 254, 0.5); border-radius: 999px; }
.ap-msg {
max-width: 88%;
padding: 11px 14px;
border-radius: 16px;
font-size: 0.84rem;
line-height: 1.5;
border: 1px solid rgba(255, 255, 255, 0.08);
opacity: 0;
transform: translateY(8px);
animation: apIn 0.36s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.ap-msg.is-ai {
align-self: flex-start;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
border-left: 3px solid var(--primary, #00f2fe);
}
.ap-msg.is-user {
align-self: flex-end;
background: linear-gradient(135deg, #00f2fe, #79f3ff);
color: #04121a;
font-weight: 700;
}
.ap-msg.is-system {
align-self: center;
max-width: 96%;
background: linear-gradient(135deg, rgba(0, 242, 254, 0.14), rgba(0, 0, 0, 0.24));
border-left: 3px solid var(--primary, #00f2fe);
font-size: 0.78rem;
}
.ap-msg-title {
display: flex;
align-items: center;
gap: 6px;
margin-bottom: 5px;
font-size: 0.68rem;
color: var(--ap-text-dim);
}
.ap-msg-title i { color: var(--primary, #00f2fe); }
.ap-msg-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.ap-change-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.ap-caret {
display: inline-block;
width: 2px;
height: 1em;
margin-left: 1px;
background: currentColor;
vertical-align: -2px;
opacity: 0.75;
animation: apCaret 0.85s steps(1) infinite;
}
.ap-typing {
align-self: flex-start;
display: inline-flex;
align-items: center;
gap: 5px;
padding: 11px 15px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(0, 242, 254, 0.24);
}
.ap-typing span {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--primary, #00f2fe);
opacity: 0.5;
animation: apTyping 1.2s ease-in-out infinite;
}
.ap-typing span:nth-child(2) { animation-delay: 0.16s; }
.ap-typing span:nth-child(3) { animation-delay: 0.32s; } .ap-quick {
display: flex;
flex-wrap: wrap;
gap: 6px;
padding: 9px 12px;
border-top: 1px solid rgba(255, 255, 255, 0.06);
background: rgba(8, 12, 18, 0.6);
}
.ap-quick-btn { flex: 0 0 auto;
display: inline-flex;
align-items: center;
gap: 6px;
padding: 7px 10px;
border-radius: 999px;
border: 1px solid rgba(0, 242, 254, 0.28);
background: linear-gradient(135deg, rgba(0, 242, 254, 0.18), rgba(0, 242, 254, 0.05));
color: #e8fbff;
font-size: 0.68rem;
font-weight: 700;
white-space: nowrap;
}
.ap-quick-btn i { color: var(--primary, #00f2fe); font-size: 0.72rem; }
.ap-input {
display: flex;
align-items: center;
gap: 7px;
padding: 10px 12px;
border-top: 1px solid rgba(255, 255, 255, 0.06);
background: rgba(0, 0, 0, 0.28);
}
.ap-input-btn {
flex: 0 0 30px;
width: 30px;
height: 30px;
border-radius: 50%;
display: grid;
place-items: center;
border: 1px solid var(--ap-border);
background: rgba(0, 0, 0, 0.35);
color: var(--primary, #00f2fe);
font-size: 0.76rem;
}
.ap-input-field {
flex: 1 1 auto;
min-width: 0;
padding: 8px 14px;
border-radius: 999px;
border: 1px solid var(--ap-border);
background: rgba(0, 0, 0, 0.3);
color: rgba(255, 255, 255, 0.42);
font-size: 0.78rem;
}
.ap-input-send {
flex: 0 0 auto;
padding: 8px 14px;
border-radius: 999px;
background: linear-gradient(135deg, #00f2fe, #0099cc);
color: #04121a;
font-size: 0.78rem;
font-weight: 800;
} .ap-skel { display: grid; gap: 10px; padding: 6px 0; }
.ap-skel-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ap-skel-line,
.ap-skel-box {
border-radius: 8px;
background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(0, 242, 254, 0.12) 50%, rgba(255, 255, 255, 0.03) 75%);
background-size: 220% 100%;
animation: apShimmer 1.5s linear infinite;
}
.ap-skel-line { height: 13px; }
.ap-skel-box { height: 52px; border-radius: 12px; } .ap-fade-in { animation: apIn 0.4s cubic-bezier(0.25, 1, 0.5, 1) both; }
@keyframes apIn {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes apShimmer {
from { background-position: 120% 0; }
to { background-position: -120% 0; }
}
@keyframes apDot {
0%, 100% { opacity: 1; }
50% { opacity: 0.35; }
}
@keyframes apCaret {
0%, 50% { opacity: 0.75; }
51%, 100% { opacity: 0; }
}
@keyframes apTyping {
0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
30% { transform: translateY(-4px); opacity: 1; }
}
@keyframes apSpin { to { transform: rotate(360deg); } } .ap-live-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
margin-bottom: 12px;
}
.ap-scenarios { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-scenario {
padding: 8px 13px;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, 0.16);
background: rgba(255, 255, 255, 0.05);
color: #fff;
font: inherit;
font-size: 0.8rem;
font-weight: 800;
cursor: pointer;
transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.ap-scenario:hover { transform: translateY(-1px); border-color: rgba(0, 242, 254, 0.45); }
.ap-scenario.is-active {
background: rgba(0, 242, 254, 0.14);
border-color: rgba(0, 242, 254, 0.6);
color: var(--primary, #00f2fe);
}
.ap-recalc {
display: inline-flex;
align-items: center;
gap: 8px;
font-size: 0.74rem;
font-weight: 800;
color: var(--primary, #00f2fe);
}
.ap-recalc[hidden] { display: none; }
.ap-recalc::before {
content: "";
width: 12px;
height: 12px;
border-radius: 50%;
border: 2px solid rgba(0, 242, 254, 0.3);
border-top-color: var(--primary, #00f2fe);
animation: apSpin 0.7s linear infinite;
}
.ap-split { display: grid; gap: 14px; }
.ap-pane-label {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
margin-bottom: 8px;
font-size: 0.66rem;
font-weight: 800;
letter-spacing: 0.7px;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.5);
} .ap-plan[data-ap-view="recipe"] .ap-training-col { display: none; }
.ap-plan[data-ap-view="exercise"] .ap-recipe-col { display: none; } @container apPlan (min-width: 860px) {
.ap-plan[data-ap-view] .ap-viewtoggle { display: none; }
.ap-plan[data-ap-view] .ap-recipe-col,
.ap-plan[data-ap-view] .ap-training-col { display: block; }
.ap-plan[data-ap-view] .ap-plan-body {
grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
gap: 20px;
align-items: start;
}
.ap-plan[data-ap-view] .ap-ing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ap-plan[data-ap-view] .ap-training-cta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
} .ap-frame-notch { display: flex; }
.ap-frame-top { display: none; }
.ap-appbar { display: flex; }
.ap-bottomnav { display: flex; }
.ap-shell { max-width: 420px; margin-inline: auto; }
.ap-stage { height: 540px; padding: 10px; }
.ap-viewport { max-height: 520px; }
.ap-split { display: block; height: 100%; }
.ap-pane { display: none; height: 100%; }
.ap-pane.is-active { display: flex; }
.ap-pane-label { display: none; } .ap-pane[data-ap-pane="chat"] { height: 100%;
min-height: 0;
}
.ap-pane[data-ap-pane="chat"] .ap-pane-scroll {
display: flex;
flex-direction: column; height: 100%;
min-height: 0;
overflow: hidden;
padding-right: 0;
}
.ap-pane[data-ap-pane="chat"] .ap-chat {
flex: 1 1 auto;
min-height: 0;
height: 100%;
border-radius: 14px;
} .ap-pane[data-ap-pane="chat"] .ap-chat-msgs {
flex: 1 1 auto;
min-height: 0;
} @media (max-width: 720px) {
.ap-quick {
gap: 5px;
padding: 8px 10px;
}
.ap-quick-btn {
padding: 6px 9px;
font-size: 0.64rem;
gap: 5px;
}
.ap-quick-btn i { font-size: 0.68rem; }
}
@media (max-width: 400px) {
.ap-stage { height: 470px; }
.ap-recipe-title { font-size: 1.16rem; }
.ap-mealtab { flex-basis: calc(50% - 4px); max-width: none; }
.ap-mealtab-l { font-size: 0.76rem; }
.ap-macropanel { gap: 8px 16px; }
.ap-recipe, .ap-training { padding: 14px; }
} @media (min-width: 1024px) {
.ap-frame-notch { display: none; }
.ap-frame-top { display: flex; }
.ap-appbar { display: none; }
.ap-bottomnav { display: none; }
.ap-shell { max-width: none; }
.ap-stage { height: 600px; padding: 16px; }
.ap-viewport { max-height: 640px; padding: 18px; }
.ap-split {
display: grid;
grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
gap: 16px;
}
.ap-pane { display: flex; }
.ap-pane-label { display: flex; }
.ap-chat-head-actions { display: inline-flex; }
.ap-pane[data-ap-pane="chat"] .ap-pane-scroll {
display: flex;
overflow: hidden;
padding-right: 0;
}
.ap-pane[data-ap-pane="chat"] .ap-chat { flex: 1 1 auto; min-height: 0; }
} #demo-result-modal .demo-modal-content {
width: min(1180px, 96vw);
max-width: min(1180px, 96vw);
max-height: min(92vh, 960px);
}
#demo-result-modal .demo-modal-body { padding: 16px; }
#demo-result-modal .ap-shell { max-width: 460px; } #demo-result-modal .ap-viewport { max-height: min(60vh, 520px); }
@media (min-width: 1024px) {
#demo-result-modal .ap-shell { max-width: none; }
#demo-result-modal .ap-viewport { max-height: min(72vh, 780px); }
}
.ap-modal-summary {
margin: 0 0 12px;
font-size: 0.86rem;
line-height: 1.5;
color: rgba(255, 255, 255, 0.82);
}
.ap-modal-foot {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
margin-top: 14px;
}
.ap-modal-note {
flex: 1 1 260px;
margin: 0;
font-size: 0.76rem;
color: rgba(255, 255, 255, 0.6);
} .launch-strip {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 10px 14px;
margin-bottom: 14px;
padding: 9px 14px;
border-radius: 999px;
border: 1px solid rgba(0, 242, 254, 0.3);
background: linear-gradient(100deg, rgba(0, 242, 254, 0.12), rgba(122, 0, 255, 0.1) 55%, rgba(255, 0, 85, 0.1));
box-shadow: 0 12px 30px rgba(0, 242, 254, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
font-size: 0.84rem;
color: #eaf6ff;
}
.launch-pill {
display: inline-flex;
align-items: center;
gap: 6px;
flex-shrink: 0;
padding: 4px 11px;
border-radius: 999px;
background: linear-gradient(135deg, #00f2fe, #7a00ff);
color: #04121a;
font-size: 0.64rem;
font-weight: 900;
letter-spacing: 0.09em;
text-transform: uppercase;
}
.launch-pill i { font-size: 0.62rem; }
.launch-copy { flex: 1 1 auto; min-width: 0; line-height: 1.35; }
.launch-copy strong { color: #fff; }
.launch-link {
color: var(--primary, #00f2fe);
font-weight: 800;
text-decoration: underline;
text-underline-offset: 3px;
}
.launch-count {
display: inline-flex;
align-items: flex-end;
gap: 8px;
flex-shrink: 0;
font-variant-numeric: tabular-nums;
}
.launch-unit {
display: inline-flex;
flex-direction: column;
align-items: center;
min-width: 38px;
padding: 4px 6px;
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.12);
background: rgba(0, 0, 0, 0.34);
line-height: 1.1;
}
.launch-unit b { font-size: 0.98rem; font-weight: 900; color: #fff; }
.launch-unit i {
font-style: normal;
font-size: 0.56rem;
letter-spacing: 0.5px;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.55);
}
.launch-strip.is-live {
border-color: rgba(139, 241, 191, 0.42);
background: linear-gradient(100deg, rgba(0, 255, 136, 0.14), rgba(0, 242, 254, 0.1));
}
@media (max-width: 768px) {
.launch-strip { border-radius: 20px; justify-content: center; text-align: center; }
.launch-copy { flex-basis: 100%; }
} @media (prefers-reduced-motion: reduce) {
.ap-msg,
.ap-fade-in { animation: none; opacity: 1; transform: none; }
.ap-dot,
.ap-typing span,
.ap-skel-line,
.ap-skel-box,
.ap-recalc::before,
.ap-navitem.has-update::after { animation: none; }
.ap-caret { display: none; }
.ap-mealtab,
.ap-viewbtn,
.ap-scenario,
.ap-navitem { transition: none; }
}