/* Account and order tracking use the same warm palette as the catalogue. */
#accountDialog[data-account-view="profile"]{width:min(900px,calc(100vw - 36px));max-width:none}
#accountDialog[data-account-view="profile"] #accountTitle{font-size:clamp(26px,4vw,42px)}
#accountDialog :is(button,a,input,textarea,summary):focus-visible{outline:2px solid #7b5c3f;outline-offset:3px}
.ap-type-choice{padding:0;margin:0 0 4px;border:0;display:grid;gap:9px;min-width:0}
.ap-type-choice legend{font-weight:700;margin-bottom:8px;color:#5b4631}
#accountDialog .ap-type-choice label{display:flex;gap:10px;align-items:flex-start;margin:0;padding:11px 12px;border:1px solid #e4d7bd;border-radius:11px;background:#fffdf8;cursor:pointer;color:#4c3e30}
#accountDialog .ap-type-choice label:has(input:checked){background:#f0f1e6;border-color:#9aa683}
#accountDialog .ap-type-choice input{width:16px;height:16px;margin:3px 0 0;accent-color:#536d48;flex:0 0 16px}
.ap-type-choice :is(strong,small){display:block}
.ap-type-choice small{font-size:12px;margin-top:3px;color:#615848;line-height:1.45}
.ap-business-name{display:grid;gap:7px}
.ap-registration-recovery strong{display:block;font-size:14px;margin-bottom:5px}
.ap-registration-recovery p{margin:0;line-height:1.65}
.ap-registration-recovery p+p{margin-top:7px}
.ap-registration-actions{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:8px}
.ap-registration-actions :is(button,a){display:inline-flex;align-items:center;min-height:44px;color:#40583a;font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:4px;text-align:start}
#accountDialog[data-account-view="review"] .account-tabs{display:none}
.ap-procurement-review{padding:clamp(14px,4vw,22px);border:1px solid #e5d4b5;border-radius:15px;background:#f7efe0;color:#4d3e2c;font-size:14px;line-height:1.65}
.ap-procurement-review strong{display:inline-block;padding:4px 12px;border-radius:100px;background:#ecddb9;color:#5a3e20;font-size:13px}
.ap-procurement-review[data-state="declined"] strong{background:#f0ddd5;color:#714534}
.ap-procurement-review p{margin:10px 0 4px}
.ap-procurement-review .text-link{display:inline-flex;align-items:center;min-height:44px;white-space:normal;color:#465e3e;font-weight:700}
#accountDialog .ap-review-back{margin-top:16px;min-height:44px}
.ap-auth-status:empty,.ap-member-notice:empty{display:none}
.ap-auth-status,.ap-member-notice{margin:10px 0;color:#795328;font-size:13px;font-weight:650}
.ap-member-head{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:15px 17px;background:#f1efe4;border-radius:16px;margin:18px 0 12px}
.ap-member-head>div{min-width:0}
.ap-member-kicker{font-size:12px;font-weight:750;color:#56674a}
.ap-member-head h3{font-size:20px;margin:3px 0 2px;color:#364c34;overflow-wrap:anywhere}
.ap-member-head p{margin:0;color:#63584b;font-size:13px;overflow-wrap:anywhere}
#accountDialog .ap-member-head .account-signout-form{margin:0;flex:0 0 auto}
.ap-member-approval{padding:13px 15px;border:1px solid #e2ceac;border-radius:12px;background:#fbf1e1;color:#5f492c;font-size:13px}
.ap-member-approval p{margin:4px 0}
.ap-member-approval .text-link{font-size:13px}
.ap-approved-label{color:#436040;font-weight:650;font-size:13px}
.ap-member-tabs{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid #e7ddca;margin:14px 0 16px;padding-bottom:10px}
.ap-member-tabs button{border:1px solid #ddcfb4;border-radius:100px;color:#574733;min-height:40px;background:#fffdf8;padding:7px 14px;font-size:13px;font-weight:650}
.ap-member-tabs button[aria-pressed=true]{background:#4c6344;border-color:#4c6344;color:#fffdf6}
.ap-member-tabs button span{font-variant-numeric:tabular-nums;margin-inline-start:3px}
.ap-member-content{color:#4f493d;line-height:1.6}
.ap-order-list-tools{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:10px}
.ap-order-list-tools h3{margin:0;font-size:18px;color:#3c5237}
.ap-order-list-tools button{min-height:36px;font-size:13px}
.ap-member-empty{padding:18px;background:#f7f3eb;border-radius:12px}
.ap-member-empty p{margin:0 0 10px}
.ap-member-empty .button{font-size:13px}
.ap-my-order{margin-bottom:10px;border:1px solid #e4d9c6;border-radius:13px;background:#fffdfa}
.ap-my-order>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;min-height:58px;list-style:none}
.ap-my-order>summary::-webkit-details-marker{display:none}
.ap-my-order>summary::after{content:"+";color:#5c694e;font-size:20px}
.ap-my-order[open]>summary::after{content:"−"}
.ap-my-order>summary span:first-child{min-width:0;flex:1 1 170px}
.ap-my-order>summary strong,.ap-my-order>summary small{display:block;overflow-wrap:anywhere}
.ap-my-order>summary strong{color:#3d5438;font-size:15px}
.ap-my-order>summary small{color:#655c4d;font-size:12px}
.ap-order-state{background:#ebf0e5;color:#405639;border-radius:30px;padding:5px 9px;font-size:12px;text-align:center;max-width:42%;overflow-wrap:anywhere}
.ap-order-detail{padding:12px 15px 18px;border-top:1px solid #eadfcd;font-size:13px}
.ap-order-detail h4{font-size:15px;margin:11px 0;color:#40583b}
.ap-timeline{list-style:none;margin:0 0 12px;padding:0}
.ap-timeline li{position:relative;padding:3px 0 9px 24px;color:#645c50}
.ap-timeline li::before{content:"";position:absolute;width:10px;height:10px;border:1px solid #a49883;border-radius:50%;left:1px;top:9px;background:#fffdf6;z-index:1}
.ap-timeline li:not(:last-child)::after{content:"";position:absolute;left:6px;top:16px;bottom:-10px;width:1px;background:#e5dbc9}
.ap-timeline li[data-step=past]::before{background:#9aa88a;border-color:#9aa88a}
.ap-timeline li[data-step=current]{font-weight:750;color:#395733}
.ap-timeline li[data-step=current]::before{background:#52764b;border-color:#52764b;box-shadow:0 0 0 3px #e1eadc}
.ap-timeline small{font-size:11px;color:#6e6253;margin-inline-start:8px}
.ap-order-lines,.ap-progress-notes{margin:7px 0 12px;padding-inline-start:20px}
.ap-order-lines li,.ap-progress-notes li{padding:3px 0;overflow-wrap:anywhere}
.ap-tracking{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0}
.ap-tracking div,.ap-member-info{padding:9px 11px;border-radius:9px;background:#edf1e7;color:#42573c}
.ap-tracking :is(small,strong){display:block;overflow-wrap:anywhere}
.ap-preserve{white-space:pre-line;overflow-wrap:anywhere}
.ap-claim-box{margin-top:14px;padding:12px;border:1px solid #e5d4b9;border-radius:12px;background:#fbf6ec}
.ap-order-media{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:10px;padding:0;margin:10px 0;list-style:none}
.ap-order-media li{min-width:0;border:1px solid #e9dcc5;border-radius:9px;padding:6px;background:#fffdf8}
.ap-order-media :is(img,video){width:100%;aspect-ratio:4/3;display:block;border-radius:5px;object-fit:contain;background:#f4efe5}
.ap-order-media .ap-media-name{display:block;font-size:12px;overflow-wrap:anywhere}
.ap-order-media button{font-size:12px;text-decoration:underline;margin-top:3px;min-height:30px}
.ap-member-form,#apProcurementApply{display:grid;gap:10px;margin:11px 0}
.ap-member-form label:not(.member-consent),#apProcurementApply label{display:grid;gap:5px}
.ap-member-form :is(input:not([type=checkbox]),textarea),#apProcurementApply input{width:100%;max-width:100%;padding:9px;border:1px solid #dfcfb4;border-radius:8px;background:#fffdf7;color:#423c31;font:inherit}
.ap-member-form .button,#apProcurementApply .button{font-size:13px;min-height:42px}
.ap-member-form input[type=file]{font-size:12px}
.ap-member-apply{border-top:1px solid #e4d9c6;margin-top:17px;padding-top:12px}
.ap-member-apply summary{cursor:pointer;color:#465d40;font-weight:650}
.ap-cart-lines{list-style:none;margin:0;padding:0}
.ap-cart-lines li,.ap-cart-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #e8ddca}
.ap-cart-lines small{display:block;font-size:12px;color:#6d604e}
.ap-cart-summary{font-weight:700;color:#4a5a3d}
.bag-footer .ap-bag-order{display:flex;width:100%;margin-top:10px;font-size:13px}
@media(max-width:520px){
 #accountDialog[data-account-view="profile"]{width:calc(100vw - 22px);padding-inline:15px}
 .ap-member-head{padding:11px;align-items:flex-start}
 .ap-member-tabs{gap:6px}
 .ap-member-tabs button{padding:7px 10px;font-size:12px}
 .ap-my-order>summary{gap:7px;padding:10px}
 .ap-order-state{max-width:40%}
 .ap-timeline small{display:block;margin:0}
 .ap-order-media{grid-template-columns:repeat(2,minmax(0,1fr))}
}
