.api-usage-page { min-height: 100vh; background: #eeeaf8; color: #52647e; }
.api-usage-shell { width: min(520px, calc(100% - 28px)); margin: 0 auto; padding: 24px 0 calc(34px + env(safe-area-inset-bottom)); }
.api-usage-header { margin: 14px 4px 18px; }.api-usage-header p { margin: 0 0 3px; color: #8797b2; font: 12px "Yomogi Local", sans-serif; }.api-usage-header h1 { margin: 0; font-size: 30px; }.api-usage-header small { color: #8797b2; font: 12px "Yomogi Local", sans-serif; }
.api-usage-total,.api-usage-card,.api-budget-form { margin: 12px 0; padding: 18px; border: 1px solid rgba(218,214,239,.9); border-radius: 24px; background: rgba(252,251,255,.94); box-shadow: 0 10px 28px rgba(93,91,135,.09); }
.api-usage-total > p { margin: 0; color: #6c7c99; font: 13px "Yomogi Local", sans-serif; }.api-usage-total > strong { display: block; margin: 5px 0 13px; color: #637fb1; font: 700 38px/1.1 "Yomogi Local", sans-serif; }
.api-usage-budget-line { display: flex; justify-content: space-between; gap: 10px; color: #7383a0; font: 12px "Yomogi Local", sans-serif; }.api-usage-budget-line b { color: #5d6f91; }.api-usage-meter { height: 10px; margin: 8px 0 11px; overflow: hidden; border-radius: 999px; background: #e9e7f3; }.api-usage-meter i { display: block; width: 0; height: 100%; border-radius: inherit; background: #8ca6d2; transition: width .25s ease; }.api-usage-total > small,.api-usage-note { color: #8a98b1; font: 11px/1.55 "Yomogi Local", sans-serif; }
.api-usage-card h2 { margin: 0 0 14px; font-size: 18px; }.api-usage-features { display: grid; gap: 14px; }.api-feature-group { display: grid; gap: 7px; }.api-feature-group h3 { display: flex; align-items: center; gap: 6px; margin: 0; color: #637493; font: 13px "Yomogi Local", sans-serif; }.api-feature-group h3 span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 9px; background: #e6edf8; font-size: 14px; }.api-feature-rows { overflow: hidden; border: 1px solid #ece9f5; border-radius: 14px; }.api-feature { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 10px; background: #f8f7fc; }.api-feature + .api-feature { border-top: 1px solid #ece9f5; }.api-feature strong,.api-feature small { display: block; }.api-feature strong { font-size: 13px; }.api-feature small { margin-top: 2px; color: #8797b2; font: 10px/1.4 "Yomogi Local", sans-serif; }.api-feature-failure { color: #b67b83 !important; }.api-feature-cost { color: #637fb1; font: 700 14px "Yomogi Local", sans-serif; white-space: nowrap; }
.api-usage-summary dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0; }.api-usage-summary dl div { min-width: 0; padding: 10px 7px; border-radius: 13px; background: #f5f3fb; text-align: center; }.api-usage-summary dt { color: #8797b2; font: 10px/1.35 "Yomogi Local", sans-serif; }.api-usage-summary dd { margin: 6px 0 0; color: #5c7095; font: 700 14px "Yomogi Local", sans-serif; }.api-usage-summary > small { display: block; margin-top: 10px; color: #8a98b1; font: 10px/1.5 "Yomogi Local", sans-serif; }
.recipe-generation-log > p { margin: -6px 0 11px; color: #8797b2; font: 11px/1.5 "Yomogi Local", sans-serif; }.recipe-generation-log > small { display: block; margin-top: 10px; color: #8a98b1; font: 11px "Yomogi Local", sans-serif; }.recipe-generation-entry { display: grid; gap: 4px; padding: 10px; border-top: 1px solid #ece9f5; }.recipe-generation-entry:first-child { border-top: 0; }.recipe-generation-entry > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.recipe-generation-entry strong { color: #6681ad; font: 700 12px "Yomogi Local", sans-serif; }.recipe-generation-entry.shopping_required strong { color: #b98d52; }.recipe-generation-entry.failed strong { color: #b67b83; }.recipe-generation-entry time,.recipe-generation-entry small { color: #8797b2; font: 10px/1.45 "Yomogi Local", sans-serif; }.recipe-generation-entry p { margin: 0; color: #5b6f8f; font: 12px/1.45 "Yomogi Local", sans-serif; }
.api-budget-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 11px; }.api-budget-form label { display: grid; gap: 6px; color: #61718b; font: 13px "Yomogi Local", sans-serif; }.api-budget-form label span { position: relative; }.api-budget-form input { box-sizing: border-box; width: 100%; padding: 10px 33px 10px 11px; border: 1px solid #d6d3eb; border-radius: 13px; color: #4e5f7b; background: #fff; font: 15px "Yomogi Local", sans-serif; }.api-budget-form small { position: absolute; right: 11px; top: 50%; color: #8797b2; transform: translateY(-50%); }.api-budget-form button { padding: 11px 14px; border: 0; border-radius: 13px; color: #fff; background: #849bc6; font: 13px "Yomogi Local", sans-serif; }.api-usage-note { margin: 15px 3px 0; }.api-usage-status { min-height: 20px; margin: 12px 0 0; color: #71829d; text-align: center; font: 12px/1.5 "Yomogi Local", sans-serif; }.api-usage-login { min-height: 100vh; display: grid; place-items: center; color: #7385a1; font: 14px "Yomogi Local", sans-serif; }.api-usage-login[hidden] { display: none; }
@media (max-width: 390px) { .api-usage-shell { width: min(100% - 22px, 520px); }.api-usage-total,.api-usage-card,.api-budget-form { padding: 15px; }.api-usage-summary dl { grid-template-columns: 1fr; }.api-budget-form { grid-template-columns: 1fr; }.api-budget-form button { width: 100%; } }
