.order-lookup{max-width:760px;margin:0 auto;padding:28px 30px;background:#fff;border:1px solid #e4e7e2;border-radius:16px;box-shadow:0 12px 40px #24382b06;color:#24382b;font-family:inherit}
.order-lookup *{box-sizing:border-box}
.order-lookup .order-eyebrow{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:700;letter-spacing:1.6px;color:#57735e}
.order-eyebrow>span{width:6px;height:6px;border-radius:50%;background:#507a59}
#main-content .order-lookup h2{border:0;padding:0;margin:14px 0 8px;font-size:28px;line-height:1.3;letter-spacing:-.6px}
#main-content .order-lookup .order-intro{font-size:13px;line-height:1.7;color:#69756c;margin:0 0 22px}
.order-lookup label{display:block;font-weight:600;font-size:13px;margin-bottom:8px}
.order-input-row{display:flex;gap:8px}
#main-content .order-lookup input{flex:1;min-width:0;border:1px solid #cdd5ce;border-radius:8px;background:#fafbf9;padding:11px 13px;color:#24382b;font:inherit;font-size:16px}
.order-lookup input:focus{outline:2px solid #426b4c;outline-offset:2px}
.order-lookup button{border:0;border-radius:8px;background:#31593d;color:#fff;padding:11px 18px;font:inherit;font-weight:600;font-size:13px;cursor:pointer;white-space:nowrap}
.order-lookup button:hover{background:#244830}.order-lookup button:focus-visible{outline:2px solid #31593d;outline-offset:3px}.order-lookup button:disabled{opacity:.65;cursor:wait}
#main-content .order-lookup #order-input-help{font-size:11px;line-height:1.6;color:#7a857c;margin:8px 0 0}
.order-placeholder{text-align:center;background:#fafbf8;border:1px dashed #dce2d9;border-radius:10px;padding:22px 14px;margin-top:20px;color:#778578}
.order-placeholder>span{font-size:28px;line-height:1}.order-lookup .order-placeholder p{margin:6px 0;font-size:13px}.order-placeholder small{font-size:11px}
.order-status:not(:empty){border-radius:8px;padding:11px 13px;margin:18px 0 12px;font-size:13px;line-height:1.8;background:#f0f4ef}
.order-status.error{color:#a03b36;background:#fcf1ef}.order-status.empty{color:#856020;background:#fbf6e8}.order-status.success{color:#31593d;background:#eef5ed}
.order-lookup .order-card{border:1px solid #dfe5dc;border-radius:10px;padding:16px 18px;margin:12px 0}
.order-card-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}
#main-content .order-lookup h3{border:0;padding:0;margin:0;font-size:15px;font-weight:600;line-height:1.5}
.order-badge{display:inline-flex;gap:4px;align-items:center;font-size:11px;font-weight:600;line-height:1.5;border-radius:5px;background:color-mix(in srgb,currentColor 10%,transparent);padding:3px 7px;white-space:nowrap}
.order-badge svg{width:13px;height:13px;flex:none}
.logistics-booked{color:#616775}.logistics-shipped{color:#19758f}.logistics-transit{color:#7a7094}.logistics-delivered{color:#248b46}.logistics-returned{color:#995567}.logistics-exception{color:#db3539}.logistics-cancelled{color:#808080}.logistics-pending{color:#c77219}
.order-lookup dl{margin:0;font-size:12px;line-height:1.7}.order-lookup dt{color:#788279}.order-lookup dd{margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.order-lookup .order-meta{display:grid;grid-template-columns:1fr 1fr;gap:6px 20px}
.order-meta-field{display:grid;grid-template-columns:76px minmax(0,1fr);gap:6px;align-items:baseline}
.order-meta-wide{grid-column:1/-1}
#main-content .order-lookup .order-items{list-style:none;padding:10px 0 0;margin:12px 0 0;border-top:1px solid #e9ece6}
.order-items li{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:3px 0;font-size:13px;line-height:1.7}
.order-items strong{font-weight:500}.order-items li>div{display:flex;gap:7px;align-items:baseline;flex-wrap:wrap}.order-items small{color:#7a857c;font-size:10px;background:#f3f5f1;border-radius:4px;padding:0 5px}.item-quantity{flex:none;color:#5a685e;font-variant-numeric:tabular-nums}
.order-lookup .apple-id-card{background:#f7faf5;border-color:#d8e5d4}.order-lookup .apple-id-card h3{margin-bottom:12px!important}
.apple-id-card dl{display:grid;grid-template-columns:76px minmax(0,1fr);gap:7px 6px}
.apple-id-card .apple-value{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px;user-select:all;letter-spacing:.1px}
#main-content .order-lookup .apple-password-note{margin:10px 0 0;font-size:11px;line-height:1.7;color:#63745e}
@media(max-width:600px){.order-lookup{padding:20px 16px;border-radius:12px}.order-lookup .order-card{padding:14px}.order-input-row{flex-direction:column}.order-lookup button{width:100%}#main-content .order-lookup h2{font-size:25px}.order-meta-field{grid-template-columns:1fr;gap:0}.order-meta-wide{grid-template-columns:70px minmax(0,1fr);gap:5px}.order-lookup .order-meta{gap:8px 12px}.apple-id-card dl{grid-template-columns:55px minmax(0,1fr);gap:6px}.apple-id-card .apple-value{font-size:13px}}

.order-lookup .apple-id-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin-bottom:10px}
.order-lookup .apple-id-heading h3{margin-bottom:0!important}
.apple-copy-status{font-size:11px;line-height:1.6;color:#31593d}.apple-copy-status.error{color:#a03b36}
.apple-id-card dl{align-items:center}
.apple-id-card .apple-credential{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.apple-credential .apple-value{min-width:0;overflow-wrap:anywhere}
.order-lookup .apple-copy-button{flex:none;min-width:58px;width:auto;padding:5px 9px;border:1px solid #cfdccc;border-radius:6px;background:#fff;color:#31593d;font-size:11px;line-height:1.5;font-weight:500;cursor:pointer}
.order-lookup .apple-copy-button:hover{background:#edf3e9}.order-lookup .apple-copy-button.is-copied{background:#e7f0e2;border-color:#bcd2b5}.order-lookup .apple-copy-button:disabled{cursor:wait}
@media(max-width:600px){.apple-id-card .apple-credential{gap:6px}.order-lookup .apple-copy-button{min-width:52px;padding:5px 7px}}

.order-lookup .otp-card{background:#fafbf9;border-color:#dce3d7}
#main-content .order-lookup .otp-sms-instructions{margin:0 0 10px;color:#31593d;font-size:13px;line-height:1.7}
#main-content .order-lookup .apple-shared-note{margin:14px 0 12px;padding:10px 13px;border-radius:8px;background:#f0f4ef;color:#31593d;font-size:13px;line-height:1.7}
.otp-code-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px}
.otp-digits{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:27px;font-variant-numeric:tabular-nums;letter-spacing:5px;user-select:all;color:#31593d}
.order-lookup .otp-copy-button:disabled{cursor:not-allowed;opacity:.45;background:#f3f5f0}
#main-content .order-lookup .otp-message{margin:10px 0 0;color:#6c786c;font-size:11px;line-height:1.8}
#main-content .order-lookup .account-reservation-note{text-align:right;color:#788279;margin:12px 0 -3px;font-size:11px;line-height:1.7}
.account-countdown{font-variant-numeric:tabular-nums;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.order-lookup .account-busy-card{background:#fbf8ee;border-color:#e6ddbf}
#main-content .order-lookup .account-busy-card p{font-size:12px;line-height:1.8;margin:8px 0 0;color:#7c6a39}
.account-wait-line .account-countdown{font-size:17px;letter-spacing:1px}
@media(max-width:600px){.otp-digits{font-size:24px;letter-spacing:3px}.otp-code-row{gap:8px}}

.order-lookup .app-store-guide {
    margin-top: 20px;
    padding: 12px 16px;
    border: 1px solid #d8e5d4;
    border-radius: 10px;
    background: #f7faf5;
}
.order-lookup .app-store-guide summary {
    color: #31593d;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.order-lookup .app-store-guide summary:focus-visible,
.order-lookup .app-store-guide a:focus-visible {
    outline: 2px solid #31593d;
    outline-offset: 4px;
}
#main-content .order-lookup .app-store-guide p {
    margin: 12px 0;
    color: #69756c;
    font-size: 13px;
}
#main-content .order-lookup .app-store-guide ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.order-lookup .app-store-guide li { margin: 0; }
.order-lookup .app-store-guide a { display: block; }
.order-lookup .app-store-guide img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #e4e7e2;
    border-radius: 8px;
}
@media (max-width: 600px) {
    #main-content .order-lookup .app-store-guide ol { grid-template-columns: 1fr; }
}
