/* 独立样式：桌面及手机共用，不改变现有财务与库存页面布局。 */
#apple-lookup-dialog{width:min(650px,94vw);max-height:90dvh;overflow:auto;padding:0;border:1px solid #cdded7;border-radius:16px;background:#fff;color:#17202e;box-sizing:border-box}
#apple-lookup-dialog::backdrop{background:#123d3266}
.apple-lookup-shell{padding:22px}.apple-lookup-shell p{font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.apple-lookup-shell label{display:grid;gap:8px;margin:16px 0 8px;font-weight:600}
.apple-lookup-shell input{box-sizing:border-box;width:100%;min-width:0;padding:12px;font-size:16px;border:1px solid #bdcec7;border-radius:8px}
.apple-lookup-shell button,.apple-lookup-links a{min-height:44px;padding:10px 14px;border:1px solid #cdded7;border-radius:8px;background:#edf8f3;color:#075d46;font:inherit;cursor:pointer}
.apple-lookup-shell .modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.apple-lookup-shell h2{font-size:19px}
.apple-lookup-links{display:flex;gap:10px;flex-wrap:wrap}.apple-lookup-links a{display:block;text-decoration:none}
#apple-lookup-message{padding:10px;background:#fff7e5;color:#75460b;border-radius:8px;min-height:24px}
/* 手机库存卡片的查询和出库按钮允许换行，避免挤压仓库名称。 */
.device-card .card-bottom{flex-wrap:wrap}.device-card .card-actions{flex-wrap:wrap;max-width:100%}
.device-card [data-apple-lookup]{min-height:44px}
