@media(max-width:820px){
 .user-application .app-sidebar nav>a[data-short-label]{flex-direction:column;justify-content:center;gap:2px;min-height:44px;padding:4px 2px;line-height:1.2}
 .user-application .app-sidebar nav>a[data-short-label]::after{content:attr(data-short-label);font-size:11px}
}

/* Product cards keep the primary action clear and secondary actions compact. */
.user-application .product-grid{grid-template-columns:repeat(auto-fill,minmax(min(310px,100%),1fr));grid-auto-rows:1fr;align-items:stretch;gap:20px}
.user-application .product-tile{position:relative;min-width:0;min-height:0;margin:0;padding:18px;border-radius:12px;box-shadow:0 2px 8px #172c4510;gap:14px}
.user-application .product-tile.is-starred{border-color:#e7be6b;background:linear-gradient(135deg,#fffcf4,#fff 55%)}
.product-tile-head,.product-tile-tools{display:flex;align-items:center;gap:6px}
.product-tile-head{justify-content:space-between;gap:12px}
.product-tile-tools{flex-shrink:0;position:relative;z-index:2}
.product-identity{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:16px}
.product-cover{display:grid;place-items:center;overflow:hidden;width:72px;aspect-ratio:3/4;border-radius:7px;background:#eff2f5;color:#576b7f;font-size:11px}
.product-cover img,.product-cover video{width:100%;height:100%;object-fit:cover}
.product-open::after{content:"";position:absolute;inset:0;border-radius:12px}
.product-open:focus-visible{outline:none}
.product-open:focus-visible::after{outline:3px solid var(--blue);outline-offset:2px}
.product-tile:has(.product-open:hover){border-color:#99aec1;box-shadow:0 4px 12px #172c4518}
.user-application .product-icon-button{display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:#718196;font-size:24px;line-height:1;cursor:pointer;list-style:none}
.product-icon-button::-webkit-details-marker{display:none}
.user-application .product-icon-button:hover,.user-application .product-more[open]>summary{background:#f0f4f8;border-color:#d9e1ea}
.product-more-panel button.product-priority{background:white;color:var(--ink)}
.user-application .product-tile h2{margin:0;font-size:20px;line-height:1.45;overflow-wrap:anywhere}
.product-tile h2 a{color:var(--ink,#1c2b3b);text-decoration:none}
.product-tile h2 a:hover{color:var(--blue)}
.product-tile h2 a>span{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.product-tile-facts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin:auto 0 0;padding:16px 0;border-top:1px solid #edf0f4;border-bottom:1px solid #edf0f4}
.product-tile-facts dt{color:var(--muted);font-size:12px;margin-bottom:6px}
.product-tile-facts dd{margin:0;font-size:17px;font-weight:650;overflow-wrap:anywhere}
.product-tile-facts>div:first-child dd{font-size:22px;line-height:1.3}
.product-tile-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.product-tile-footer time{color:var(--muted);font-size:11px;white-space:nowrap}
.product-continue{color:var(--blue);font-size:13px;font-weight:600;white-space:nowrap;text-decoration:none;margin-left:auto}

.user-application .product-more{position:relative;margin:0;padding:0;border:0}
.user-application .product-more>summary,.user-application .product-more[open]>summary{margin:0;padding:0}
.product-more-panel{position:absolute;right:0;top:calc(100% + 6px);width:230px;max-width:calc(100vw - 100px);z-index:5;padding:10px;background:#fff;border:1px solid #dbe2ea;border-radius:10px;box-shadow:0 8px 28px #11283f25}
.product-more-panel .product-delete-control{display:grid;gap:8px;align-items:stretch}
.product-more-panel button{width:100%;text-align:left;border:0;background:#fff6f4}
.product-more-panel small{font-size:12px;line-height:1.6;white-space:normal}
@media(max-width:600px){.user-application .product-tile{padding:18px;gap:16px}.user-application .product-tile h2{font-size:18px;min-height:0}.product-tile h2 a>span{-webkit-line-clamp:5}.product-tile-facts{gap:10px}.product-tile-footer{row-gap:5px}}
