/* Profile uses the diary's existing olive tokens and icon scale. */
.profile-header{height:auto;min-height:72px;align-items:center}.profile-header>div{flex:1;min-width:0}.app-shell .profile-header h1{font-size:18px;line-height:1.3;letter-spacing:-.3px;overflow-wrap:break-word}.profile-header p{font-size:12px;color:var(--muted);margin-top:3px}.header-spacer{width:18px}.profile-header .primary{padding:8px 13px;flex:none}.profile-avatar{width:33px;height:33px;display:grid;place-items:center;background:var(--sage);border-radius:50%;color:var(--dark);font-weight:600}.profile-welcome{min-height:105px}.profile-welcome h1{font-size:22px!important}.profile-welcome p{font-size:13px;color:var(--muted);max-width:240px;margin-top:6px}.profile-welcome .companion{flex:none}
.profile-overview-card{display:block;width:100%;text-align:left;padding:14px!important;margin-bottom:11px}.profile-card-title{display:flex;align-items:center;gap:10px}.profile-card-title>span:nth-child(2){flex:1;min-width:0}.profile-card-title strong{font-size:16px;display:block;line-height:1.35;font-weight:650}.profile-card-title small{font-size:12px;display:block;color:var(--muted);margin-top:3px}.profile-card-title>.icon{width:16px;height:16px;color:var(--olive);flex:none}.profile-card-icon{width:37px;height:37px;display:grid;place-items:center;background:var(--sage);color:var(--olive);border-radius:13px;flex:none}.profile-card-icon .icon{width:22px;height:22px}.profile-overview-card:nth-of-type(3) .profile-card-icon{background:var(--mint)}.profile-preview-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:13px}.profile-preview-three>span{display:flex;flex-direction:column;align-items:center;border-left:1px solid var(--line);padding:0 5px}.profile-preview-three>span:first-child{border-left:0}.profile-preview-three strong{font-size:12px;font-weight:550}.profile-preview-three small{font-size:11px;color:var(--muted)}.profile-mini-icons{display:flex;gap:8px;min-height:26px;margin-top:7px;align-items:center;color:var(--olive)}.profile-mini-icons .icon{width:22px;height:22px}.profile-mini{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:11px;text-align:center;color:var(--muted)}.profile-mini>.icon{width:25px;height:25px;color:var(--olive)}.profile-assessment-preview{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin-top:14px}.profile-assessment-preview .profile-mini{font-size:10px}.profile-assessment-preview .icon{width:21px;height:21px}.journey-preview{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;margin-top:12px}.journey-preview .icon{width:19px;height:19px;color:var(--olive)}.prototype-tools{margin:18px 3px;font-size:12px;color:var(--muted)}.prototype-tools summary{min-height:44px;padding:12px 0;cursor:pointer}.count-tag{font-size:11px;background:var(--pale);color:var(--muted);padding:3px 6px;border-radius:7px;font-weight:400}.profile-list{padding:0!important;overflow:hidden}.profile-list-row{display:flex;align-items:center;gap:10px;width:100%;padding:12px 11px;text-align:left;min-height:73px;border-top:1px solid var(--line)}.profile-list-row:first-child{border:0}.list-symbol{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--pale);flex:none;color:var(--olive)}.list-symbol .icon{width:24px;height:24px}.list-copy{flex:1;min-width:0}.list-copy strong{display:block;font-size:14px;font-weight:550;overflow-wrap:anywhere}.list-copy small{display:block;font-size:12px;color:var(--muted);margin-top:4px;line-height:1.3}.profile-list-row>.icon{width:14px;height:14px;flex:none;color:var(--olive)}.record-meta{font-size:12px;text-align:right;max-width:90px;overflow-wrap:anywhere}.record-meta small{display:block;color:var(--muted);font-size:11px;margin-top:4px}
.app-shell .profile-content .section-heading{gap:8px;margin:15px 0 10px}.app-shell .profile-content .section-heading h2{font-size:17px}.profile-content .section-heading button{display:flex;gap:5px;align-items:center;padding:7px 9px;font-size:12px;white-space:nowrap}.profile-content .section-heading button .icon{width:15px;height:15px}.app-shell .profile-content .form-row{display:block}.profile-content .form-row>label{display:block;margin-bottom:6px;font-size:12px}.profile-content .segmented{width:100%}.profile-content .segmented button{min-height:44px}
.app-shell .profile-form-card{padding:14px;margin-bottom:13px}.app-shell .profile-form-card h2{font-size:17px;margin-bottom:8px}.app-shell .profile-form-card h3{font-size:14px;margin-top:13px;margin-bottom:7px}.app-shell .profile-form-card h3:first-child{margin-top:0}.profile-form-card .field{margin:0 0 14px;font-size:14px;gap:7px}.profile-form-card .field:last-child{margin-bottom:0}.profile-form-card input,.profile-form-card textarea,.profile-form-card select{background:#fbfcf9;border:1px solid #dfe5d8;padding:11px;border-radius:10px;width:100%;min-width:0;min-height:44px;color:var(--ink);font-size:16px}.profile-form-card textarea{min-height:90px;resize:vertical}.form-hint{font-size:12px;color:var(--muted);line-height:1.5;margin:4px 0 10px}.profile-choice-row{display:flex;gap:5px;overflow-x:auto;padding:4px 2px 10px;scrollbar-width:thin}.app-shell .profile-choice-row .choice{flex:0 0 62px;min-height:78px;align-items:center;gap:7px;white-space:normal}.app-shell .profile-choice-row .choice-art{position:relative}.profile-check{position:absolute;right:-5px;top:-4px;display:grid;place-items:center;width:16px;height:16px;border:2px solid var(--bg);border-radius:50%;background:var(--dark);color:white}.profile-check .icon{width:10px!important;height:10px!important;stroke-width:3px}.app-shell .profile-choice-row .choice.selected{background:#f3f6ed;border-color:#e4ecd9}.profile-text-options{display:flex;gap:7px;flex-wrap:wrap}.profile-text-options button{padding:9px 12px;min-height:44px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);background:var(--pale);border-radius:11px;font-size:13px;flex:1}.profile-text-options button.selected{background:var(--olive);color:white;border-color:var(--olive)}.profile-text-options .icon{width:14px;height:14px}.ingredient-row,.component-row{display:flex;align-items:center;gap:6px;margin-bottom:8px}.ingredient-row input:first-child{flex:1.25}.ingredient-row input:nth-child(2){flex:1}.ingredient-row input{width:0;font-size:14px}.ingredient-row .round-btn,.component-row .round-btn{flex:none;width:35px}.component-row input{flex:1;width:0;font-size:14px}.profile-content .text-btn{display:inline-flex;align-items:center;gap:7px;font-size:13px}.profile-content .text-btn>.icon{width:17px;height:17px}.profile-photo{display:flex;flex-wrap:wrap;align-items:center;gap:8px;position:relative;margin:7px 0 12px}.profile-photo img{max-width:100%;max-height:150px;border:1px solid var(--line);border-radius:10px;object-fit:contain}.photo-picker{display:flex;align-items:center;gap:7px;color:var(--olive);font-size:12px;min-height:44px;cursor:pointer;border:1px solid var(--line);border-radius:10px;padding:7px 10px}.photo-picker>.icon{width:17px;height:17px}.photo-picker input{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.photo-picker:focus-within{outline:3px solid #9aa97b}.profile-editor-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0}.profile-editor-actions button{min-height:48px;font-size:13px}.app-shell .bowl-options .choice{flex:1;min-width:54px}.bowl-options .choice-art .icon{width:var(--bowl-size)!important;height:var(--bowl-size)!important}.app-shell .portion-options .choice{flex:1;min-width:44px}.app-shell .portion-options .choice-art{width:35px;height:35px}.profile-content .portion-symbol.extra{margin-left:-6px}.age-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:10px}.age-grid button{position:relative;background:var(--pale);border:1px solid var(--line);border-radius:10px;min-height:44px;font-size:13px;padding:5px}.age-grid button.selected{background:var(--olive);color:white;border-color:var(--olive)}.age-dot{display:inline-block;width:4px;height:4px;border-radius:50%;background:currentColor;position:absolute;right:5px;bottom:5px}.journey-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.app-shell .journey-options .choice{min-width:0;min-height:87px;padding:7px 3px;gap:7px}.journey-options .choice-art{position:relative}.journey-options .choice-label{overflow-wrap:normal;hyphens:none}.assessment-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;background:var(--pale);border-radius:14px;padding:5px;margin-bottom:16px}.assessment-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:68px;font-size:10px;border-radius:10px;padding:6px 2px;color:var(--muted)}.assessment-tabs .icon{width:23px;height:23px;color:var(--olive)}.assessment-tabs button.selected{background:var(--sage);color:var(--dark);font-weight:600}
@container(max-width:360px){.profile-content .profile-card-title strong{font-size:15px}.profile-header .primary{font-size:12px}.app-shell .profile-header h1{font-size:17px}.app-shell .profile-choice-row .choice{flex-basis:58px}.profile-list-row{padding:11px 9px;gap:7px}.profile-content .record-meta{max-width:75px;font-size:11px}.profile-assessment-preview .profile-mini{font-size:9px}.profile-content .profile-preview-three strong{font-size:11px}.profile-content .profile-welcome p{max-width:195px}.app-shell .portion-options .choice{flex-basis:44px}}

.app-shell .portion-svg{width:30px;height:28px;display:block;color:inherit}.app-shell .portion-options .portion-svg{width:28px;height:27px}

.profile-choice-row[data-profile-options="weight"],.profile-choice-row[data-profile-options="feeling"]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}.profile-choice-row[data-profile-options="feeling"]{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .profile-choice-row[data-profile-options="weight"] .choice,.app-shell .profile-choice-row[data-profile-options="feeling"] .choice{min-width:0}
