/* Giver workspace and recipient gift portal. */
#dashboard-root{width:min(1200px,calc(100% - 64px));margin-inline:auto;padding:28px 0 56px;color:#142c58;font:400 14px/1.55 var(--sans,Arial,sans-serif)}
#dashboard-root *{box-sizing:border-box}
#dashboard-root :is(h1,h2,h3){font-family:var(--display,var(--sans));letter-spacing:-.025em}
#dashboard-root button,#dashboard-root input,#dashboard-root select,#dashboard-root textarea{font-family:var(--sans)}
#dashboard-root svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
#dashboard-root .dash-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}
#dashboard-root .dash-identity{display:flex;align-items:center;gap:10px;min-width:0;font-size:13px;font-weight:500}
#dashboard-root .workspace-mark{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#f9d5e2;color:#8b4266;font-size:11px}
#dashboard-root .dash-demo{padding:3px 7px;border:1px solid #d9e2f0;border-radius:6px;color:#8190a7;font-size:10px;font-weight:400}
#dashboard-root .dash-role{display:flex;gap:3px;padding:4px;border:1px solid #dce5f2;border-radius:11px;background:#eaf0f9}
#dashboard-root .dash-role button{min-height:33px;padding:7px 13px;border:0;border-radius:8px;background:none;color:#65738e;font-size:12px;font-weight:500;transition:background .2s,color .2s,box-shadow .2s}
#dashboard-root .dash-role button[aria-pressed=true]{background:#fff;color:#2557d6;box-shadow:0 2px 5px #142c5809}
#dashboard-root .dash-shell{display:grid;grid-template-columns:164px minmax(0,1fr);gap:34px;align-items:start}
#dashboard-root .dash-sidebar{position:sticky;top:calc(var(--header-height) + 24px);display:flex;flex-direction:column;gap:5px;padding-top:5px}
#dashboard-root .dash-sidebar button{display:flex;align-items:center;gap:11px;min-height:44px;padding:11px 13px;border:0;border-radius:10px;background:transparent;color:#70809a;font-size:13px;text-align:left;transition:background .2s,color .2s}
#dashboard-root .dash-sidebar button:hover{background:#eaf0fa;color:#2557d6}
#dashboard-root .dash-sidebar button.active{background:#e5edff;color:#2557d6;font-weight:600}
#dashboard-root .dash-main{min-width:0}
#dashboard-root .dash-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:48px;margin-bottom:24px}
#dashboard-root h1{margin:0;font-size:34px;font-weight:700;line-height:1.2}
#dashboard-root h2{margin:0;font-size:18px;font-weight:700;line-height:1.35}
#dashboard-root .btn{min-height:42px;padding:10px 15px;gap:13px;border-radius:10px;font-size:12px;white-space:nowrap}
#dashboard-root .btn svg{width:18px;height:18px}
#dashboard-root .dash-draft{display:flex;align-items:center;gap:13px;margin-bottom:22px;padding:15px 18px;border:1px solid #e6dcae;border-radius:13px;background:#fff8df}
#dashboard-root .draft-gift{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#ffecac;color:#9b7727}
#dashboard-root .dash-draft strong{display:block;font-size:13px;font-weight:600}
#dashboard-root .dash-draft small{display:block;margin-top:2px;color:#8c7c53;font-size:11px;font-variant-numeric:tabular-nums}
#dashboard-root .dash-draft>.dash-link{margin-left:auto}
#dashboard-root .dash-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:33px;padding:3px 0;border:0;background:none;color:#2557d6;font-size:12px;font-weight:500;white-space:nowrap}
#dashboard-root .dash-link:hover{color:#142c58}
#dashboard-root .dash-link svg{width:16px;height:16px;transition:transform .2s}
#dashboard-root .dash-link:hover svg{transform:translateX(3px)}
#dashboard-root .dash-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}
#dashboard-root .dash-stat{position:relative;min-width:0;padding:18px 18px 20px;border:1px solid #e2e9f3;border-radius:14px;background:#fff}
#dashboard-root .dash-stat>span{display:block;color:#7a89a2;font-size:11px;white-space:nowrap}
#dashboard-root .dash-stat>strong{display:block;margin-top:12px;font:700 30px/1.1 var(--display);letter-spacing:-.035em;font-variant-numeric:tabular-nums}
#dashboard-root .dash-stat>i{position:absolute;right:18px;bottom:24px;width:8px;height:8px;border-radius:50%;background:#507be1}
#dashboard-root .stat-pink>i{background:#edb2ca}#dashboard-root .stat-yellow>i{background:#f1c757}#dashboard-root .stat-green>i{background:#88b797}
#dashboard-root .dash-overview-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:20px}
#dashboard-root .dash-panel{min-width:0;padding:22px;border:1px solid #e1e8f2;border-radius:16px;background:#fff}
#dashboard-root .dash-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
#dashboard-root .dash-panel-heading small{display:block;margin-top:5px;color:#8090a8;font-size:11px}
#dashboard-root .dash-order-row{display:flex;align-items:center;gap:12px;padding:18px 0;border-top:1px solid #e9edf5}
#dashboard-root .dash-order-name{display:flex;align-items:center;gap:12px;min-width:0;flex:1;padding:0;border:0;background:none;color:inherit;text-align:left}
#dashboard-root .dash-order-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:42px;border:1px solid #e2e9f4;border-radius:10px;background:#f5f8ff;color:#5b7aba}
#dashboard-root .dash-order-name strong,#dashboard-root .dash-bill-row>span strong{display:block;font-size:12px;font-weight:600;line-height:1.5}
#dashboard-root .dash-order-name small,#dashboard-root .dash-bill-row>span small{display:block;margin-top:4px;color:#8a96aa;font-size:10px}
#dashboard-root .dash-order-money{text-align:right;flex-shrink:0}
#dashboard-root .dash-order-money>strong{display:block;margin-bottom:5px;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
#dashboard-root .dash-status{display:inline-flex;align-items:center;gap:5px;width:max-content;max-width:100%;padding:4px 7px;border-radius:6px;background:#eff3fa;color:#6a7d9d;font-size:10px;font-weight:500;line-height:1.4;white-space:nowrap}
#dashboard-root .status-paid,#dashboard-root .status-delivered{background:#edf6ef;color:#588064}
#dashboard-root .status-pending,#dashboard-root .status-needs_address{background:#fff4d2;color:#9b792c}
#dashboard-root .status-in_transit{background:#ebf1ff;color:#5073bd}
#dashboard-root .status-preparing{background:#f6edf7;color:#977199}
#dashboard-root .dash-icon-button{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;padding:0;border:1px solid #e3eaf5;border-radius:50%;background:#fff;color:#5477be;transition:background .2s}
#dashboard-root .dash-icon-button:hover{background:#edf3ff}
#dashboard-root .dash-count{display:grid;place-items:center;min-width:26px;height:26px;padding:3px 8px;border-radius:8px;background:#edf2fc;color:#5f7bab;font-size:11px;font-variant-numeric:tabular-nums}
#dashboard-root .dash-address-person{display:flex;align-items:center;gap:11px;padding-top:16px;border-top:1px solid #e9edf5}
#dashboard-root .dash-address-person>.product-photo{display:block;flex:0 0 45px;width:45px;height:55px;border-radius:8px}
#dashboard-root .dash-address-person>span:not(.product-photo){min-width:0;flex:1}
#dashboard-root .dash-address-person strong{display:block;font-size:12px;font-weight:500}
#dashboard-root .dash-address-person small{display:block;margin-top:4px;color:#8b97ac;font-size:10px}
#dashboard-root .dash-address-person+.dash-address-person{margin-top:15px}
#dashboard-root .dash-empty{margin:0;padding:22px 10px;color:#8b98ae;font-size:12px;text-align:center}
#dashboard-root .dash-order-detail{margin-top:22px}
#dashboard-root .dash-detail-actions{display:flex;align-items:center;gap:12px}
#dashboard-root .dash-table-tools{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}
#dashboard-root :is(#dash-search,#dash-status-filter,#dash-order-filter,#recipient-gift-select){width:auto;min-height:41px;padding:9px 12px;border:1px solid #dfe6f1;border-radius:9px;background:#fff;color:#58708f;font-size:12px}
#dashboard-root #dash-search{width:240px;max-width:100%}
#dashboard-root .dash-table-wrap{min-width:0;overflow-x:auto}
#dashboard-root .dash-table{width:100%;border-collapse:collapse;text-align:left}
#dashboard-root .dash-table th{padding:0 12px 12px 0;color:#8b99ae;font-size:10px;font-weight:500;white-space:nowrap}
#dashboard-root .dash-table td{padding:16px 12px 16px 0;border-top:1px solid #e8edf5;vertical-align:middle;font-size:12px}
#dashboard-root .dash-table td:last-child,#dashboard-root .dash-table th:last-child{padding-right:0;text-align:right}
#dashboard-root .dash-table td>strong{display:block;font-size:12px;font-weight:500;white-space:nowrap}
#dashboard-root .dash-table td>small{display:block;margin-top:3px;color:#8a98ad;font-size:10px}
#dashboard-root .dash-table-gift{display:flex;align-items:center;gap:9px;max-width:180px;font-size:11px}
#dashboard-root .dash-table-gift .product-photo{display:block;flex:0 0 29px;width:29px;height:34px;border-radius:5px}
#dashboard-root .dash-bill-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:20px;padding:20px 0;border-top:1px solid #e7edf5;font-size:12px}
#dashboard-root .dash-bill-row>strong{font-size:13px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
#dashboard-root .dash-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#dashboard-root .recipient-gift-surface{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:40px;align-items:center;padding:30px;border:1px solid #e1e8f2;border-radius:20px;background:#fff}
#dashboard-root .recipient-product{position:relative;min-width:0}
#dashboard-root .recipient-product>.product-photo{display:block;width:100%;aspect-ratio:1;border-radius:14px}
#dashboard-root .recipient-from{position:absolute;bottom:16px;left:16px;max-width:calc(100% - 32px);padding:8px 12px;border-radius:8px;background:#fffef9ec;color:#536987;font-size:12px}
#dashboard-root .recipient-gift-copy{min-width:0;padding:14px 0}
#dashboard-root .recipient-gift-copy h2{margin:17px 0 21px;font-size:34px;line-height:1.18;letter-spacing:-.035em}
#dashboard-root .recipient-gift-copy blockquote{margin:0 0 24px;padding:20px 22px;border-radius:12px;background:#fff4d0;font:500 20px/1.65 var(--display);white-space:pre-wrap;overflow-wrap:anywhere}
#dashboard-root .recipient-contact{display:block;margin-top:22px;color:#8794a8;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
#dashboard-root .recipient-delivery{margin-top:24px;padding:28px}
#dashboard-root .delivery-timeline{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));list-style:none;margin:28px 0;padding:0}
#dashboard-root .delivery-timeline li{position:relative;display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0;color:#9aa7bb;font-size:11px;text-align:center}
#dashboard-root .delivery-timeline li:before{position:absolute;content:'';left:-50%;right:50%;top:14px;height:2px;background:#e4eaf4}
#dashboard-root .delivery-timeline li:first-child:before{display:none}
#dashboard-root .delivery-timeline li>span{position:relative;z-index:1;display:grid;place-items:center;width:29px;height:29px;border:1px solid #dce5f3;border-radius:50%;background:#fff;color:#8e9eb6;font-size:11px}
#dashboard-root .delivery-timeline li strong{font-weight:500}
#dashboard-root .delivery-timeline .current{color:#2557d6}#dashboard-root .delivery-timeline li.current>span{background:#2557d6!important;border-color:#2557d6!important;color:white!important}
#dashboard-root .delivery-timeline .done>span{background:#fff0b7;border-color:#fff0b7;color:#8c702d}
#dashboard-root .recipient-address-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:18px;max-width:700px;margin-top:32px}
#dashboard-root .recipient-address-form .full{grid-column:1/-1}
#dashboard-root .recipient-address-form :is(input,textarea){min-height:46px;padding:12px 14px;border:1px solid #cbd8eb;border-radius:10px;font-size:16px}
#dashboard-root .recipient-address-form textarea{min-height:92px}
#dashboard-root .recipient-address-form label{font-size:13px;font-weight:500}
#dashboard-root .recipient-address-form button{min-height:46px}
#dashboard-root .recipient-saved-address{margin-top:25px;padding:22px;border:1px solid #e1e8f2;border-radius:12px;background:#f7faff;font-size:13px}
#dashboard-root .recipient-saved-address strong{font-size:12px;font-weight:500}
#dashboard-root .recipient-saved-address p{margin:7px 0 0;color:#71839e;line-height:1.8}
#dashboard-root .dash-notice{margin-top:20px;padding:12px 15px;border:1px solid #cde2d0;border-radius:10px;background:#f0f8f1;color:#63876a;font-size:12px}
@media(max-width:1100px){#dashboard-root .dash-shell{grid-template-columns:142px minmax(0,1fr);gap:24px}#dashboard-root .dash-overview-grid{grid-template-columns:1fr}#dashboard-root .dash-panel{padding:21px}#dashboard-root .dash-stat{padding:17px 14px}#dashboard-root .dash-stat>span{font-size:10px}#dashboard-root .recipient-gift-surface{gap:28px}#dashboard-root .recipient-gift-copy h2{font-size:30px}#dashboard-root .recipient-gift-copy blockquote{font-size:18px}}
@media(max-width:760px){#dashboard-root{width:calc(100% - 32px);padding-top:20px}#dashboard-root .dash-top{gap:12px;flex-wrap:wrap;margin-bottom:20px}#dashboard-root .dash-shell{grid-template-columns:minmax(0,1fr);gap:24px}#dashboard-root .dash-sidebar{position:static;flex-direction:row;gap:4px;padding:4px;border:1px solid #e1e8f3;border-radius:12px;background:#fff}#dashboard-root .dash-sidebar button{flex:1;justify-content:center;gap:7px;padding:9px 6px;font-size:11px;min-height:39px}#dashboard-root .dash-sidebar svg{width:16px;height:16px}#dashboard-root .dash-heading h1{font-size:29px}#dashboard-root .dash-heading{gap:14px;margin-bottom:20px}#dashboard-root .dash-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#dashboard-root .dash-stat>span{font-size:11px}#dashboard-root .dash-stat{padding:17px}#dashboard-root .dash-stat>strong{font-size:28px}#dashboard-root .dash-order-row{gap:10px}#dashboard-root .dash-table-tools{gap:10px}#dashboard-root #dash-search{width:52%}#dashboard-root .dash-bill-row{grid-template-columns:minmax(0,1fr) auto;gap:12px}#dashboard-root .dash-bill-row>.dash-link,#dashboard-root .dash-bill-row>.btn{justify-self:end}#dashboard-root .recipient-gift-surface{grid-template-columns:1fr;gap:20px;padding:22px}#dashboard-root .recipient-product{max-width:420px;width:100%;margin-inline:auto}#dashboard-root .recipient-gift-copy{padding:0}#dashboard-root .recipient-delivery{padding:22px}#dashboard-root .recipient-address-form{grid-template-columns:1fr}#dashboard-root .recipient-address-form .btn{width:100%}#dashboard-root #recipient-gift-select{max-width:56%;font-size:11px;padding-inline:8px}#dashboard-root .dash-detail-actions{gap:7px;flex-wrap:wrap}#dashboard-root .dash-order-detail>.dash-panel-heading{align-items:flex-start;flex-direction:column}}
@media(max-width:450px){#dashboard-root .dash-identity{gap:7px;font-size:11px}#dashboard-root .workspace-mark{width:30px;height:30px;flex-basis:30px}#dashboard-root .dash-role button{padding:7px 10px;font-size:11px}#dashboard-root .dash-demo{font-size:9px}#dashboard-root .dash-sidebar button{flex-direction:column;gap:5px;font-size:10px}#dashboard-root .dash-heading h1{font-size:27px}#dashboard-root .dash-heading>.btn{padding:10px 12px;font-size:11px;gap:8px}#dashboard-root .dash-draft{padding:13px;gap:10px}#dashboard-root .dash-draft strong{font-size:12px}#dashboard-root .dash-panel{padding:18px}#dashboard-root .dash-panel h2{font-size:17px}#dashboard-root .dash-order-icon{width:31px;height:36px;flex-basis:31px}#dashboard-root .dash-order-name{gap:9px}#dashboard-root .dash-order-name strong{font-size:11px}#dashboard-root .dash-order-name small{font-size:9px}#dashboard-root .dash-order-money>strong{font-size:11px}#dashboard-root .dash-status{font-size:9px;padding:4px 6px}#dashboard-root .dash-order-row>.dash-icon-button{display:none}#dashboard-root .dash-table{min-width:550px}#dashboard-root .recipient-gift-surface{padding:17px}#dashboard-root .recipient-gift-copy h2{font-size:28px}#dashboard-root .recipient-gift-copy blockquote{padding:18px;font-size:18px}#dashboard-root .recipient-delivery{padding:18px}#dashboard-root .delivery-timeline li{font-size:10px}#dashboard-root .dash-bill-row{font-size:11px}#dashboard-root .dash-bill-row>strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){#dashboard-root *,#dashboard-root *:before,#dashboard-root *:after{transition:none!important;animation:none!important}}

#dashboard-root .dash-notice.is-error{border-color:#e8bac6;background:#fff3f6;color:#a44060}
#dashboard-root .dash-stat>span{font-size:12px;color:#697d99}
#dashboard-root .dash-table th{font-size:11px;color:#72849f}
#dashboard-root .dash-table td>small{font-size:11px;color:#72849f}
#dashboard-root .dash-order-name small,#dashboard-root .dash-bill-row>span small{font-size:11px;color:#72849f}
#dashboard-root .dash-status{font-size:11px}
#dashboard-root .dash-order-money>strong{font-size:13px}
@media(max-width:450px){#dashboard-root .dash-order-name small{font-size:10px}#dashboard-root .dash-status{font-size:10px}#dashboard-root .dash-order-money>strong{font-size:12px}}
/* Recipient tables become compact cards on phones. */
@media(max-width:600px){
 #dashboard-root .dash-table{display:block;min-width:0;width:100%}
 #dashboard-root .dash-table thead{display:none}
 #dashboard-root .dash-table tbody{display:block;width:100%}
 #dashboard-root .dash-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;width:100%;padding:18px 0;border-top:1px solid #e8edf5}
 #dashboard-root .dash-table td{display:block;min-width:0;padding:0;border:0;text-align:left}
 #dashboard-root .dash-table td:nth-child(1){grid-column:1;grid-row:1}
 #dashboard-root .dash-table td:nth-child(2){grid-column:1;grid-row:2}
 #dashboard-root .dash-table td:nth-child(3){grid-column:2;grid-row:1;text-align:right}
 #dashboard-root .dash-table td:nth-child(4){grid-column:2;grid-row:2;align-self:center;text-align:right}
 #dashboard-root .dash-table td[colspan]{grid-column:1/-1}
 #dashboard-root .dash-table td>strong{white-space:normal}
 #dashboard-root .dash-table td>small{overflow-wrap:anywhere}
 #dashboard-root .dash-table-gift{max-width:100%;font-size:11px}
}
