.profile-shell{max-width:960px;margin:0 auto;color:var(--ink)}
.profile-hero{background:linear-gradient(125deg,#122e50,#23537c);border-radius:22px;padding:26px 30px 40px;color:#fff;overflow:hidden}
.profile-hero-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.profile-hero-top>span{font-size:11px;letter-spacing:1.8px;font-weight:650;color:#e9c889}
.profile-hero-top>div{display:flex;gap:6px}.profile-hero-top button{display:grid;place-items:center;width:44px;height:44px;background:#ffffff12;border:1px solid #ffffff26;border-radius:13px;color:#fff}
.profile-identity{display:flex;align-items:center;gap:18px}.profile-avatar{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:#f7f0e3;border:4px solid #ffffff24;color:#173d60}.profile-avatar>.icon{width:34px;height:34px}
.profile-identity>div{min-width:0}.profile-identity h1{font-family:inherit;font-size:26px;font-weight:700;line-height:1.35;margin:0 0 5px;overflow-wrap:anywhere}.profile-identity p{font-size:13px;color:#d4e3f1;margin:0 0 10px;overflow-wrap:anywhere}.profile-role{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#ffe0a6;background:#ffffff10;border:1px solid #e4c38740;border-radius:20px;padding:5px 10px}.profile-role .icon{width:13px;height:13px}.profile-welcome{font-size:13px;color:#d4e3f1;margin:18px 0 0}
.profile-orders{position:relative;margin:-20px 16px 16px;background:white;border:1px solid var(--line);border-radius:17px;box-shadow:0 8px 25px #122e5005;padding:18px 20px}
.profile-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.profile-section-title h2{font-family:inherit;font-size:18px;font-weight:700;margin:0}.profile-section-title button{display:flex;align-items:center;gap:4px;min-height:44px;color:var(--muted);font-size:12px;background:none;padding:0}.profile-section-title .icon{width:15px;height:15px}
.profile-stages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.profile-stage{display:flex;flex-direction:column;align-items:center;gap:12px;min-width:0;min-height:98px;background:none;padding:6px 0;color:var(--ink);font-size:12px;line-height:1.5}.profile-stage-icon{display:grid;place-items:center;position:relative;width:48px;height:48px;border-radius:16px}.profile-stage-icon .icon{width:24px;height:24px}.profile-stage-icon.amber{background:#fff3db;color:#9c690e}.profile-stage-icon.green{background:#e7f4ec;color:#257254}.profile-stage-icon.blue{background:#e9f1ff;color:#3666a1}.profile-stage-icon.purple{background:#f1eafb;color:#8151a5}.profile-stage-icon b{position:absolute;right:-7px;top:-5px;min-width:21px;height:21px;display:grid;place-items:center;padding:0 4px;border-radius:12px;background:white;border:1px solid currentColor;font-size:10px;font-weight:700}
#profile-order-status:empty{display:none}#profile-order-status{font-size:12px;color:var(--muted);line-height:1.6;margin-top:10px;display:flex;align-items:center;justify-content:space-between;gap:10px}#profile-order-status button{min-height:44px;flex-shrink:0;background:var(--soft);border-radius:8px;padding:8px 12px;color:var(--ink)}
.profile-shop{display:flex;align-items:center;gap:13px;border:1px solid #e2d3b8;background:#fbf6ec;border-radius:15px;padding:18px 20px;margin:0 16px 16px}.profile-shop-icon{display:grid;place-items:center;background:#eee1c9;color:#8b662d;width:44px;height:44px;border-radius:12px;flex-shrink:0}.profile-shop>span:nth-child(2){flex:1;min-width:0}.profile-shop strong{font-size:15px;display:block;margin-bottom:5px}.profile-shop small{font-size:12px;color:#716249;line-height:1.6}.profile-shop>.icon{flex-shrink:0;width:18px}
.profile-services{margin:0 16px;background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden;padding:0 18px}.profile-row{display:flex;align-items:center;gap:12px;width:100%;padding:18px 0;min-height:78px;text-align:left;background:none;color:var(--ink);border-bottom:1px solid #edf1f5}.profile-row:last-child{border-bottom:0}.profile-row-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#f2f5f9;color:#607a94;flex-shrink:0}.profile-row-icon>.icon{width:20px;height:20px}.profile-row>span:nth-child(2){flex:1;min-width:0}.profile-row strong{display:block;font-size:14px;font-weight:550;line-height:1.5}.profile-row small{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:3px}.profile-row>.icon{width:16px;height:16px;color:#9cabb9;flex-shrink:0}
.profile-logout{display:flex;align-items:center;justify-content:center;gap:9px;min-height:50px;width:calc(100% - 32px);margin:18px 16px 0;background:#fff;border:1px solid #e8ccc7;color:#a24335;border-radius:13px;font-size:14px;font-weight:600}.profile-logout:disabled{opacity:.6}.profile-footer{text-align:center;color:var(--muted);font-size:9px;letter-spacing:1px;margin:24px 0 0}.profile-review{display:block;margin:16px;text-align:center;font-size:13px;min-height:44px;padding:12px}
.app-shell[data-view="profile"] #contact-fab{display:none}.profile-shell button:focus-visible,.profile-shell a:focus-visible{outline:3px solid #b68c47;outline-offset:3px}.profile-shell button:hover,.profile-row:hover{filter:brightness(.97)}
#home-date-controls>h2{margin:4px 0 15px}
@media(max-width:700px){.profile-hero{border-radius:18px;padding:16px 18px 38px}.profile-hero-top{margin-bottom:14px}.profile-hero-top>span{font-size:10px;letter-spacing:1.3px}.profile-identity{gap:14px}.profile-avatar{width:64px;height:64px}.profile-avatar>.icon{width:29px;height:29px}.profile-identity h1{font-size:22px}.profile-welcome{font-size:12px;margin-top:16px}.profile-orders{margin:-20px 7px 12px;padding:12px 10px 15px;border-radius:15px}.profile-section-title{padding:0 3px;margin-bottom:10px}.profile-section-title h2{font-size:17px}.profile-section-title button{font-size:11px}.profile-stages{gap:3px}.profile-stage{font-size:11px;gap:11px;min-height:92px}.profile-stage-icon{width:42px;height:42px;border-radius:13px}.profile-stage-icon .icon{width:22px;height:22px}.profile-shop{margin:0 7px 12px;padding:15px 13px;gap:10px}.profile-shop strong{font-size:13px}.profile-shop small{font-size:11px}.profile-shop-icon{width:38px;height:38px}.profile-services{margin:0 7px;padding:0 13px}.profile-row{gap:10px;padding:15px 0;min-height:74px}.profile-row strong{font-size:13px}.profile-row small{font-size:11px}.profile-logout{width:calc(100% - 14px);margin:16px 7px 0}.profile-footer{font-size:8px;letter-spacing:.7px}#home-date-controls>h2{font-size:16px}}
@media(max-width:360px){.profile-identity h1{font-size:20px}.profile-stage{font-size:10px}.profile-row small{font-size:10px}.profile-hero{padding-left:15px;padding-right:15px}.profile-shop small{font-size:10px}}

.profile-delivery{margin:0 16px 16px;padding:14px 20px 19px;background:white;border:1px solid var(--line);border-radius:15px}.profile-delivery .profile-section-title{margin-bottom:7px}.profile-delivery .profile-section-title h2{font-size:16px}.profile-delivery .profile-section-title button{color:#2d5a85;gap:7px;padding:0 8px;min-width:60px}.profile-delivery-empty{font-size:13px;line-height:1.7;color:var(--muted);margin:0}.profile-recipient{display:grid;gap:8px;overflow-wrap:anywhere}.profile-recipient>strong{font-size:15px}.profile-recipient>span{display:flex;align-items:center;gap:8px;font-size:14px}.profile-recipient .icon{width:16px;height:16px;color:var(--muted)}.profile-recipient p{font-size:13px;line-height:1.7;margin:0;color:var(--muted);white-space:pre-line}#delivery-profile-form input,#delivery-profile-form textarea{font-size:16px}#delivery-profile-form button[type=submit]{min-height:48px}
@media(max-width:700px){.profile-delivery{margin:0 7px 12px;padding:10px 15px 16px}.profile-delivery .profile-section-title h2{font-size:15px}.profile-delivery-empty{font-size:12px}.profile-recipient>strong{font-size:14px}.profile-recipient>span{font-size:13px}.profile-recipient p{font-size:12px}}
