
/* CP5 Round 2 shared compact presentation */
:root{--pv-r2-radius:12px}
.pv-r2-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;font-size:.85rem;padding:5px 0;min-width:0}
.pv-r2-row> :last-child{margin-left:auto;text-align:right;min-width:0;max-width:65%}
.pv-r2-row input,.pv-r2-row select{font:inherit;padding:7px 9px;max-width:100%;border-radius:9px}
.app-header,.account-header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.app-header .lang-switch,.account-header .lang-switch{margin-left:auto;position:static!important;transform:none!important}
.pv-r2-language{margin-left:auto;display:flex;gap:4px;flex-shrink:0}
.pv-r2-language button{min-height:40px;padding:6px 10px;border-radius:9px}
.pv-nutrimagic-inline-summary,.pv-nutrimagic-chip strong,.pv-template-magic-current,.template-name,.template-summary-main,.pv-flow-row-value{white-space:normal!important;text-overflow:clip!important;overflow:visible!important;overflow-wrap:anywhere}
.pv-template-magic-summary{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-height:44px!important;padding:10px 12px!important}
.pv-template-magic-label{font-size:.82rem!important;margin:0!important;flex-shrink:0}
.pv-template-magic-current{margin-left:auto!important;text-align:right!important;font-size:.82rem!important;max-width:68%}
.pv-volume-goal-matrix{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
.pv-volume-goal-custom{display:flex!important;flex-direction:column!important;gap:6px!important;padding:8px!important;min-width:0!important;font-size:.75rem!important}
.pv-volume-goal-custom input{width:100%!important;max-width:100%;text-align:center;font-size:.9rem!important}
.pv-volume-goal-custom-head{display:none!important}
.pv-volume-goal-footer{display:flex!important;gap:6px!important;padding:8px!important;position:sticky;bottom:0;background:#0b1511}
.pv-volume-goal-footer button{flex:1;min-width:0;padding:9px 5px!important;font-size:.8rem!important}
.pv-volume-goal-header h3,.pv-nutrition-subpage h2,.account-title{font-size:1.2rem!important}
.pv-volume-goal-open{padding:8px!important;font-size:1rem!important;min-height:40px}
.pv-volume-history-summary,.account-grid{display:flex!important;flex-direction:column!important;gap:0!important}
.account-stat,.subscription-stat,.plan-stat{display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding:9px 0!important;border:0!important;background:transparent!important}
.account-stat strong,.subscription-stat strong,.plan-stat strong{font-size:.88rem!important;overflow-wrap:anywhere}
.account-hero{padding:10px 0!important;border:0!important;background:none!important;margin:0!important}
.account-kicker,.account-subtitle{display:none!important}
.account-nav{display:flex!important;flex-direction:column!important;gap:0!important;background:none!important}
.account-nav a{display:flex;align-items:center;min-height:44px;padding:10px 0!important;border:0!important;background:none!important;border-bottom:1px solid #ffffff12!important}
.account-nav a::after{content:'›';margin-left:auto}
.settings-card{padding:12px!important;border-radius:12px!important}
.settings-card>p{font-size:.8rem}
.pv-r2-footer{position:sticky;bottom:0;z-index:20;display:flex;gap:8px;padding:8px;background:#0b1511;border-top:1px solid #ffffff18}
.pv-r2-footer button{flex:1;min-height:44px;padding:8px;font-size:.82rem}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:340px){.pv-volume-goal-matrix{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
.pv-target-editor-grid{display:flex!important;flex-direction:column!important;gap:3px!important}
.pv-target-editor-grid>label{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-height:44px!important;font-size:.84rem!important}
.pv-target-editor-grid>label input,.pv-target-editor-grid>label select{width:auto!important;max-width:62%!important;margin-left:auto!important;text-align:right!important;font-size:.84rem!important;min-height:40px!important}
.pv-energy-calc-summary{display:flex!important;flex-direction:column!important;gap:2px!important}
.pv-energy-calc-summary>div{display:flex!important;justify-content:space-between;align-items:center;padding:6px 0!important}
.pv-energy-calc-summary strong{font-size:.9rem!important}
.billing-summary,.billing-grid{display:flex!important;flex-direction:column!important;gap:0!important}
.billing-stat{display:flex!important;align-items:center;justify-content:space-between;padding:9px 0!important;background:none!important;border:0!important;gap:10px}
.billing-stat strong{font-size:.9rem!important;overflow-wrap:anywhere}
.billing-title{font-size:1.2rem!important}.billing-hero{padding:10px 0!important}.billing-subtitle{font-size:.8rem!important}
.pv-r2-manual-workout #pv-template-method-mini,.pv-r2-manual-workout #pv-template-save-start{display:none!important}
.pv-r2-manual-workout .pv-template-builder-actions{display:flex!important;position:sticky!important;bottom:0!important;padding:8px!important;background:#0b1511!important}
.pv-r2-manual-workout #pv-template-save{background:#00ff8820!important;border:1px solid #00ff8855!important;color:#00ff88!important}
.pv-r2-manual-workout .pv-template-builder-actions button{flex:1;min-height:44px}
.pv-template-exercise-summary-name{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
.pv-nutrimagic-meal-title,.pv-nutrimagic-meal-name{white-space:normal!important;overflow-wrap:anywhere;text-overflow:clip!important}

#nutrimagic-goal-summary,.pv-planned-meal>summary small,.pv-planned-food-details>summary strong,.pv-nutrimagic-inline-goal-value,.pv-nutrition-target-summary{white-space:normal!important;text-overflow:clip!important;overflow:visible!important;max-width:none!important}
.pv-nutrimagic-meal-title{min-width:0}.pv-nutrimagic-meal-title b{white-space:normal!important;overflow-wrap:anywhere}
.pv-r2-manual-workout .pv-template-builder-form{gap:8px!important}
.pv-r2-workout-filters{margin:8px 0}.pv-r2-volume-history h2{font-size:1.1rem}
.pv-volume-matrix{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.pv-volume-tile{display:flex;flex-direction:column;gap:5px;min-width:0;padding:9px;font-size:.75rem}.pv-volume-tile strong{font-size:1rem}

/* Meaningful values wrap instead of clipping. */
.pv-nutrimagic-panel-value,
.pv-nutrimagic-result-macro span,
.pv-nutrimagic-meal-title small{white-space:normal!important;text-overflow:clip!important;overflow:visible!important;overflow-wrap:anywhere}
.pv-r2-header-avatar{width:36px;height:36px;flex:0 0 36px;border-radius:50%;display:grid;place-items:center;text-decoration:none;background:#00ff8812;color:#d5ffe9;font-size:.78rem;overflow:hidden}
.pv-r2-header-avatar img{width:100%;height:100%;object-fit:cover}
.pv-template-muscle-status-mark.is-low{background:#00bfff!important}.pv-template-muscle-status-mark.is-good{background:#00ff88!important}.pv-template-muscle-status-mark.is-high{background:#ff4757!important}
.pv-r2-inputunit{display:flex!important;align-items:center;justify-content:flex-end;gap:5px;max-width:62%;margin-left:auto;font-size:.82rem}
.pv-target-editor-grid>label .pv-r2-inputunit input{width:100px!important;max-width:100%!important}
@media(max-width:360px){.pv-r2-inputunit input{width:75px!important}}
