/* Give customer application history the same generous reading width. */
@media(min-width:1101px){body.mypage-orders-roomy>main{box-sizing:border-box;width:calc(100% - 64px);max-width:1760px;padding-left:0;padding-right:0}.mypage-orders-roomy #content table{min-width:1100px}.mypage-orders-roomy #content td:nth-child(4){min-width:300px;white-space:normal}.mypage-orders-roomy .item-references>div{box-sizing:border-box;display:flex;align-items:center;gap:8px;min-height:38px;padding:8px 0;border-top:1px solid #eaf0f6;line-height:22px}.mypage-orders-roomy .item-references b{flex:0 0 auto}}

.order-detail-filters[hidden],#filters[hidden]{display:none!important}@media(max-width:700px){#content .table-scroll:has(.mobile-order-card){overflow:visible;border:0;background:transparent}#content table:has(.mobile-order-card),#content table:has(.mobile-order-card) tbody{display:block;width:100%;min-width:0!important;white-space:normal}#content table:has(.mobile-order-card) thead{display:none}#content .mobile-order-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;background:white;border:1px solid #dce5f0;border-radius:16px;margin:12px 0;padding:16px}#content .mobile-order-card td{display:block;min-width:0!important;padding:0!important;border:0;overflow-wrap:anywhere;white-space:normal}#content .mobile-order-card td:before{content:attr(data-label);display:block;font-size:11px;color:#7487a1;margin-bottom:5px}#content .mobile-order-card td:first-child,#content .mobile-order-card td:last-child{grid-column:1/-1}#content .mobile-order-card td:last-child{display:flex;flex-wrap:wrap;gap:8px;padding-top:10px!important;border-top:1px solid #edf1f7}#content .mobile-order-card td:last-child:before{display:none}#content .mobile-order-card td:nth-child(4){display:none}#content .order-group-row{display:block;margin-top:20px}#content .order-group-row td{display:block;padding:10px!important;white-space:normal}.item-references{overflow-wrap:anywhere}}

#content .item-references>.customer-product{display:grid!important;grid-template-columns:64px minmax(0,1fr);gap:12px;padding:12px 0;align-items:start;min-width:0}#content .customer-product-image{width:64px;height:64px;object-fit:contain;border:1px solid #dce5f1;border-radius:10px;background:white}#content .customer-image-empty{display:grid;place-items:center;min-height:64px;background:#f3f6fa;border-radius:10px;font-size:10px;color:#8a9bb0}#content .customer-product strong,#content .customer-product small{display:block;line-height:1.7}#content .customer-product b{font-size:11px;display:inline-block;margin-bottom:3px}#content .customer-product strong{font-size:12px;font-weight:600;color:#294969}#content .customer-product small{font-size:11px;color:#70849e}#content .customer-inbound-photos{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:7px}#content .customer-inbound-photos>span{font-size:10px;color:#6d829b}#content .customer-inbound-photos img{width:42px;height:42px;object-fit:cover;border:1px solid #dce5f1;border-radius:7px}#content .customer-product>div{min-width:0}
@media(max-width:700px){#content .mobile-order-card td:nth-child(4){display:block;grid-column:1/-1}#content .mobile-order-card td:last-child{grid-column:1/-1}}

#content .customer-product-numbers{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;line-height:1.8;margin:5px 0 2px;color:#4d6684}#content .customer-product-numbers b,#content .customer-product-order b{display:inline;margin:0;font-size:inherit;color:#193e6a;font-weight:700}#content .customer-product-order{overflow-wrap:anywhere}#content .customer-product-tracking a{color:#244c83;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}#content .customer-product-catalog{font-size:11px;color:#5f7795}

/* Fixed image box, centered alongside the item details. */
#content .item-references>.customer-product{align-items:center!important;gap:18px}
#content .customer-product>a:first-child{display:grid;place-items:center;align-self:center;justify-self:center;width:64px;height:64px;min-width:64px;max-width:64px;overflow:hidden;border-radius:10px}
#content .customer-product-image{display:block!important;width:64px!important;height:64px!important;min-width:64px!important;max-width:64px!important;max-height:64px!important;object-fit:contain!important;transform:none!important;margin:0!important}
#content .customer-image-empty{width:64px;height:64px;min-height:64px;align-self:center;box-sizing:border-box}
#content .customer-product :is(strong,small,b,.customer-product-numbers,.customer-product-catalog,.customer-product-order),#content .customer-inbound-photos>span{color:#171b21!important}
#content .customer-product-tracking small{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-top:4px}
#content .customer-product-tracking a{font-size:12px;font-weight:600;color:#151a20;text-decoration:underline;text-underline-offset:3px}
#content .customer-product small{font-size:12px;line-height:1.8}
#content table th{color:#242b34}

#content .customer-group-heading{display:flex;align-items:center;justify-content:space-between;gap:14px 24px;flex-wrap:wrap;min-width:0}#content .customer-group-identity{display:flex;align-items:center;gap:14px;flex-wrap:wrap}#content .customer-group-identity>span{margin:0!important}#content .customer-group-waybills{display:flex;gap:12px 24px;flex-wrap:wrap;min-width:0}#content .customer-group-waybill{display:flex;align-items:center;gap:10px 18px;flex-wrap:wrap;white-space:normal;overflow-wrap:anywhere;font-size:12px;color:#244c83}#content .customer-group-waybill :is(.waybill-compact,.waybill-handover){display:inline-block;margin:0!important;line-height:1.8;font-size:12px}#content .customer-group-waybill .waybill-compact span{margin:0!important}@media(max-width:700px){#content .customer-group-heading{align-items:flex-start}#content .customer-group-waybills{width:100%}#content .customer-group-waybill{gap:5px;width:100%;flex-direction:column;align-items:flex-start}}

/* Keep group delivery details beside the application reference. */
#content .customer-group-heading{justify-content:flex-start}#content .customer-group-waybills{margin-left:28px}#content .customer-group-waybill{flex-direction:row;align-items:center;gap:10px 24px}#content .customer-group-waybill .waybill-handover{border-left:1px solid #c5d2e2;padding-left:20px}#content thead th{text-align:center}#content .customer-group-waybill a.waybill-tracking-link{display:inline;margin:0;color:#173d69;text-decoration:underline;text-underline-offset:3px;font-weight:700}@media(max-width:700px){#content .customer-group-waybills{margin-left:0}#content .customer-group-waybill .waybill-handover{border-left:0;padding-left:0}}

/* Compact account overview. */
body.mypage-orders-roomy .welcome{min-height:0;padding:22px 28px;border-radius:18px;margin-bottom:18px;gap:18px}.mypage-orders-roomy .welcome h1{font-size:25px;margin-bottom:6px}.mypage-orders-roomy .welcome .eyebrow{margin-bottom:8px;font-size:9px}.mypage-orders-roomy .hero-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px;max-width:650px}.mypage-orders-roomy .hero-actions .btn{padding:10px 13px;font-size:11px}.mypage-orders-roomy .cards{gap:14px}.mypage-orders-roomy .card{min-height:190px;padding:20px 22px;border-radius:17px}.mypage-orders-roomy .card-top{margin-bottom:12px}.mypage-orders-roomy .card h3{font-size:12px}.mypage-orders-roomy .card strong{font-size:25px}.mypage-orders-roomy .card .service-name{font-size:20px}.mypage-orders-roomy .card .center-tags{margin:10px 0;gap:5px}.mypage-orders-roomy .member-meta{margin:9px 0!important}.mypage-orders-roomy .card .muted{margin-top:7px;font-size:11px}.mypage-orders-roomy .card-bottom{padding-top:10px}.mypage-orders-roomy .service-card p{margin:4px 0;font-size:12px}.mypage-orders-roomy .service-card p b{font-size:17px}.mypage-orders-roomy .completed-orders{color:#183d68}.mypage-orders-roomy .wallet-card{background:linear-gradient(135deg,#fff,#eff4fc);border-color:#cbd9ec}.mypage-orders-roomy .wallet-card>strong{font-variant-numeric:tabular-nums;font-size:29px}.mypage-orders-roomy .payment-summary{margin:12px 0!important}.mypage-orders-roomy .flow-section{padding:20px 22px;margin-top:20px;border-radius:18px}.wallet-ledger-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0;font-size:13px;color:#193e69}#content .ledger-status{display:inline-flex;align-items:center;justify-content:center;min-width:76px;padding:6px 12px;border-radius:20px;background:#eef2f8;color:#405a79;font-size:12px;font-weight:700}#content .ledger-status.approved{background:#e8f6ee;color:#21834b}#content:has(.wallet-ledger-heading) td,#content:has(.wallet-ledger-heading) th{text-align:center;vertical-align:middle}#content:has(.wallet-ledger-heading) table{min-width:640px}@media(max-width:700px){body.mypage-orders-roomy .welcome{padding:19px}.mypage-orders-roomy .hero-actions{justify-content:flex-start}.mypage-orders-roomy .card{min-height:0;padding:18px}.mypage-orders-roomy .card strong{font-size:23px}.wallet-ledger-heading{align-items:flex-start;flex-direction:column}}

.mypage-orders-roomy .member-edit-link{font-size:11px;color:#284f80;border:1px solid #cbd9eb;border-radius:7px;padding:6px 9px;margin-left:auto;white-space:nowrap;text-decoration:none;background:#f6f9fd}.mypage-orders-roomy .member-benefits{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 5px;font-size:11px;color:#56708f}.mypage-orders-roomy .member-benefits span,.mypage-orders-roomy .member-benefits button{display:inline-flex;gap:7px;align-items:center;padding:6px 9px;background:#f0f4fb;border-radius:7px}.mypage-orders-roomy .member-benefits b{font-size:12px;color:#173c68}.mypage-orders-roomy .member-benefits button{font:inherit;border:1px solid #cbd9eb;color:#214d83;cursor:pointer;font-weight:700}#myCoupons[hidden]{display:none!important}

.nav[role=tablist]{overflow-x:auto;flex-wrap:nowrap;gap:24px;scrollbar-width:thin}.nav[role=tablist] .btn{white-space:nowrap;flex-shrink:0}.order-detail-filters{border-radius:16px;padding:16px;gap:12px;background:#f7f9fc;border-color:#e1e8f2}.order-detail-filters input,.order-detail-filters select{border-radius:10px}.order-detail-filters [hidden],.filters [hidden]{display:none!important}.filters input:focus-visible,.order-detail-filters input:focus-visible,.order-detail-filters select:focus-visible{outline:3px solid #abc8ed;outline-offset:2px}@media(max-width:600px){.nav[role=tablist]{gap:20px;margin-left:0;margin-right:0}.order-detail-filters{padding:12px}.filters #viewStatus{min-width:130px}}

#cards.cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}#cards .card{box-sizing:border-box;height:270px;min-height:270px;padding:20px 22px;border-radius:19px;overflow:hidden}#cards .card-top{margin-bottom:12px}#cards .card strong{font-size:25px}#cards .card .service-name,#cards .recipient-card>strong{font-size:21px}#cards .card .muted{font-size:11px;margin-top:8px;line-height:1.65}#cards .member-meta{margin:8px 0!important}#cards .member-benefits{margin:3px 0}#cards .mailbox-card .card-bottom{padding-top:9px}#cards .card-bottom{padding-top:12px}#cards .reserved-card{justify-content:center;align-items:center;background:#f8fafd;border-style:dashed;color:#8a9bb1}#cards .reserved-card p{font-size:12px;color:#8a9bb1}.reserved-card-mark{font-size:26px;color:#a8b7ca}.recipient-card{background:#f5f8fd}.welcome{min-height:175px;padding:26px 30px}.welcome h1{font-size:30px}.hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:min(490px,52%)}.hero-actions .btn{display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:12px 14px;border-radius:13px;background:#ffffff12!important;border:1px solid #ffffff29;color:#fff!important;text-align:left;font-size:12px;min-width:0}.hero-actions .btn:hover{background:#ffffff22!important}.hero-actions small{display:block;font-size:10px;font-weight:400;color:#aebfd7;margin-top:5px}.hero-actions b{margin-left:auto;color:#aebfd7}.hero-action-icon{display:grid;place-items:center;width:27px;height:30px;border-radius:9px;background:#ffffff0f;color:#aebfd7;font-size:10px;flex-shrink:0}@media(max-width:1000px){#cards .card{padding:18px;height:270px;min-height:270px}#cards .card strong{font-size:23px}.hero-actions{width:55%}.welcome{gap:18px}}@media(max-width:760px){#cards.cards{grid-template-columns:1fr}.hero-actions{width:100%}.welcome{padding:24px}.welcome h1{font-size:26px}#cards .card{height:270px;min-height:270px}#cards .card strong{font-size:25px}#cards .reserved-card{height:270px;min-height:270px}}
/* Work lists precede optional account and workflow summaries. */
.mypage-attention{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 16px;margin:0 0 16px;background:#eef4fc;border:1px solid #d5e2f3;border-radius:12px;color:#244c83}.mypage-attention>strong{font-size:13px;margin-right:8px}.mypage-attention button{border:1px solid #ccdaed;border-radius:8px;background:#fff;color:#244c83;padding:8px 12px;font-size:12px;cursor:pointer}.mypage-attention button b{margin:0 4px}.mypage-overview{margin:18px 0;border:1px solid #d9e4f2;background:white;border-radius:14px;padding:16px 18px}.mypage-overview>summary{font-size:14px;color:#244c83;font-weight:700;cursor:pointer}.mypage-overview[open]>summary{margin-bottom:16px}.mypage-overview .flow-section{margin:0;padding:0;border:0}.mypage-overview #cards.cards{margin:0;grid-template-columns:repeat(2,minmax(0,1fr))}.mypage-overview #cards .card{height:auto;min-height:190px}.mypage-overview .reserved-card{display:none}.mypage-list-heading-actions{display:flex;gap:16px;align-items:center}.mypage-returns-link{font-size:12px;color:#476c9a;text-decoration:none;white-space:nowrap}body.mypage-orders-roomy .welcome{padding:18px 22px;min-height:0;margin-bottom:14px}body.mypage-orders-roomy .welcome h1{font-size:24px}.mypage-overview summary:focus-visible,.mypage-attention button:focus-visible{outline:3px solid #85a7d0;outline-offset:3px}
@media(max-width:700px){body.mypage-orders-roomy .welcome{padding:18px;gap:12px}body.mypage-orders-roomy .hero-actions{width:100%;max-width:none}body.mypage-orders-roomy .hero-actions .btn{padding:10px;font-size:12px}body.mypage-orders-roomy .hero-actions small{display:none}body.mypage-orders-roomy .hero-action-icon{display:none}body.mypage-orders-roomy .welcome h1{font-size:22px}.mypage-attention{padding:10px;gap:7px}.mypage-attention>strong{font-size:12px}.mypage-attention button{padding:9px;font-size:12px}.mypage-overview #cards.cards{grid-template-columns:1fr}.mypage-list-heading-actions{gap:8px}.mypage-returns-link{font-size:11px}.mypage-overview{padding:14px}.mypage-overview summary{font-size:13px}}

/* Dashboard stays above the four working-list tabs. */
#mypageDashboard .cards{margin-top:0}
#mypageDashboard .dashboard-account{margin-bottom:22px}
#mypageList{scroll-margin-top:140px}
@media(max-width:700px){#mypageDashboard .cards{grid-template-columns:1fr}}

/* Four equal dashboard cards in one desktop row. */
#mypageDashboard #cards.cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
#mypageDashboard #cards .card{min-width:0;height:auto;min-height:280px;padding:20px;overflow-wrap:anywhere}
#mypageDashboard #cards .card-top{flex-wrap:wrap;gap:8px}
#mypageDashboard #cards .card strong{font-size:clamp(20px,1.6vw,28px)}
#mypageDashboard #cards .service-name{font-size:clamp(18px,1.4vw,24px)}
#mypageDashboard #cards .card-bottom{flex-wrap:wrap;gap:10px}
@media(max-width:1100px){#mypageDashboard #cards.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#mypageDashboard #cards.cards{grid-template-columns:1fr}#mypageDashboard #cards .card{min-height:240px}}

#content td:last-child .btn{font-size:12px;padding:9px 12px;min-height:36px;border-radius:9px;gap:6px}#content td:last-child{vertical-align:middle}#content .service-inline button{font-size:11px;padding:7px 10px;min-height:32px}
