.stock-heading{display:flex;align-items:center;gap:15px;margin:24px 0}
.stock-draft-entry{margin:16px 0 22px}
.stock-draft-entry p{margin:10px 2px 0}
.stock-draft-note{padding:15px 17px;margin:16px 0;background:#eee5fa;border:1px solid #deceef;border-radius:16px}
.stock-draft-note strong{font-size:13px;color:#775096}
.stock-draft-note p{font-size:12px;color:#8c749b;line-height:1.8;margin:8px 0 0}
.stock-draft-photo{grid-column:1/-1;margin:8px 0;min-width:0}
.stock-draft-photo .stock-photo{width:100%;box-sizing:border-box}
.stock-draft-photo>.stock-link{margin-top:2px}
.stock-draft-footer{margin:24px 0 14px}
.stock-draft-footer>p{font-size:11px;text-align:center;line-height:1.7;color:#937d9d;margin:13px 0}
[data-stock-draft-host] input:focus-visible,[data-stock-draft-host] button:focus-visible{outline:3px solid #ad7bcf;outline-offset:3px}
.stock-heading h1{font-size:28px;line-height:1.2;letter-spacing:-.7px;margin:0}
.stock-heading p:last-child{font-size:13px;color:#8a7a96;margin:8px 0 0}
.stock-emblem{display:grid;place-items:center;flex-shrink:0;width:58px;height:62px;font-size:35px;background:#e2f1e6;border-radius:18px;color:#4a7f64;box-shadow:0 4px 0 #c9e0d1}
.stock-heading .eyebrow{font-size:9px;margin-bottom:7px}
.stock-person{display:flex;align-items:center;gap:12px;background:#fffcf6;border:1px solid #e8dfd1;border-radius:16px;padding:14px 16px}
.stock-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#eadff6;color:#8250ab;font-weight:750}
.stock-person strong{display:block;font-size:14px}
.stock-person div>span{display:block;color:#927f99;font-size:11px;margin-top:5px}
.stock-section{margin:27px 0}
.stock-section h2,.stock-box h2{font-size:19px;letter-spacing:-.3px;margin:0}
.stock-soft{font-size:12px;color:#8c7c96;line-height:1.8;overflow-wrap:anywhere}
.stock-groups{display:grid;gap:12px;margin-top:21px}
.stock-group{display:flex;align-items:center;gap:15px;background:#fffdfa;border:1px solid #dfcfe9;border-radius:18px;text-align:left;padding:17px 19px;min-height:86px;color:#443057;font:inherit;box-shadow:0 3px 0 #e8dbed66}
.stock-group-letter{display:grid;place-items:center;background:#efe2fb;color:#8648ba;width:43px;height:43px;border-radius:13px;font-weight:800;font-size:21px}
.stock-group>span:last-child{margin-left:auto;font-size:25px;color:#a68ab7}
.stock-group strong{font-size:16px;display:block}
.stock-group small{display:block;font-size:11px;margin-top:7px;color:#9684a2}
.stock-group-all{background:transparent;border-style:dashed;min-height:75px;box-shadow:none}
.stock-section-bar{display:flex;justify-content:space-between;align-items:center;margin:24px 0 18px;gap:10px}
.stock-section-bar>strong{font-size:19px}
.stock-link{border:0;background:none;color:#8954b1;text-decoration:underline;text-underline-offset:3px;min-height:44px;padding:8px;font:600 12px inherit}
.stock-progress{padding:15px;background:#f0e6fa;border-radius:14px}
.stock-progress>div{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#795691}
.stock-progress strong{font-weight:700}
.stock-progress progress{appearance:none;display:block;width:100%;height:6px;border:0;border-radius:8px;overflow:hidden;margin-top:11px;background:#dfceee}
.stock-progress progress::-webkit-progress-bar{background:#dfceee}
.stock-progress progress::-webkit-progress-value{background:#9c64cb;border-radius:8px}
.stock-progress progress::-moz-progress-bar{background:#9c64cb}
.stock-hint{margin:16px 0}
.stock-box{padding:20px;border:1px solid #e6d9eb;background:#fffdfa;border-radius:21px;margin:16px 0}
.stock-location-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.stock-location-title>span{font-size:11px;color:#a28ca9;white-space:nowrap}
.stock-location-title h2{font-size:18px}
.stock-item{display:grid;grid-template-columns:minmax(0,1fr) 85px;gap:11px;align-items:center;padding:17px 0;border-top:1px solid #f0e8f0}
.stock-item label>strong{font-size:14px;font-weight:650;line-height:1.6;display:block;overflow-wrap:anywhere}
.stock-item label>small{display:block;font-size:11px;line-height:1.6;color:#9b86a3;margin-top:4px}
.stock-item>input{width:100%;min-height:48px;border:1px solid #dccccf;border-radius:12px;padding:10px 8px;background:#fffdfb;font-family:inherit;font-weight:700;font-size:17px;color:#594267;text-align:center}
.stock-item>input:not(:placeholder-shown){background:#f1f7f0;border-color:#bed5c1}
.stock-item>input:disabled{opacity:1;color:#816c8b;-webkit-text-fill-color:#816c8b}
.stock-item>input[aria-invalid=true]{border:2px solid #bb714b}
.stock-photo{position:relative;display:flex;align-items:center;gap:11px;min-height:58px;border:1px dashed #d9c5e4;border-radius:12px;background:#fbf6ff;padding:12px;cursor:pointer;color:#8b5faa;grid-column:1/-1;overflow:hidden}
.stock-photo svg{width:23px;height:23px;flex-shrink:0}
.stock-photo input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.stock-photo:focus-within{outline:3px solid #b78bd2;outline-offset:3px}
.stock-photo span{font-size:12px;font-weight:650;overflow-wrap:anywhere}
.stock-photo small{display:block;font-size:10px;color:#a18bac;margin-top:4px;font-weight:400}
.stock-photo.has-photo{border:1px solid #b4d2bd;background:#f2f8f1;color:#528161}
.stock-photo.has-photo small{color:#7f9a83}
.stock-photo img{width:46px;height:46px;object-fit:cover;border-radius:8px}
.stock-footer{position:sticky;z-index:3;bottom:0;background:#fff9f0;border-top:1px solid #e9dceb;margin:26px -18px -16px;padding:14px 18px max(12px,env(safe-area-inset-bottom));backdrop-filter:none}
.stock-primary,.stock-secondary{display:block;width:100%;border:0;border-radius:14px;min-height:51px;padding:14px 18px;font-family:inherit;font-size:14px;font-weight:750;background:linear-gradient(110deg,#9c61cf,#7c43b3);color:white;cursor:pointer;box-shadow:0 3px 0 #693b8d}
.stock-secondary{background:#f3e8fc;color:#80539e;box-shadow:none;margin-top:17px}
.stock-primary:disabled{opacity:.65;cursor:wait}
.stock-footer>p{text-align:center;font-size:10px;color:#aa94ad;line-height:1.6;margin:12px 0 0}
.stock-process{padding:13px 15px;margin-bottom:12px;background:#fff1d7;border:1px solid #ebd1a4;color:#8c683d;border-radius:13px;font-size:12px;line-height:1.75}
.stock-process.is-working{background:linear-gradient(110deg,#eee0fc,#fbe8d1,#e0f1e8,#eee0fc);background-size:300% 100%;animation:stockGradient 3s ease-in-out infinite alternate;border-color:#d5c3e2;color:#62477a}
.stock-process[hidden]{display:none}
.stock-loading{text-align:center;padding:42px 24px;background:linear-gradient(145deg,#faf1ff,#fff8e9);border:1px solid #e8d9ef;border-radius:22px;margin:24px 0}
.stock-loading>span{display:inline-grid;place-items:center;width:66px;height:66px;background:#e8dcf7;color:#8e57b8;border-radius:19px;font-size:38px;animation:stockFloat 2s ease-in-out infinite}
.stock-loading h2{font-size:21px;margin:26px 0 12px}
.stock-loading p{font-size:13px;line-height:1.8;color:#9b86a3}
.stock-loading small{font-size:10px;color:#aa95af}
.stock-track{height:8px;border-radius:8px;background:#e6d7f0;overflow:hidden;margin:25px 0 17px}
.stock-track>span{display:block;width:30%;height:100%;background:linear-gradient(90deg,#b27adc,#8e57b8);border-radius:8px;animation:stockTravel 1.8s ease-in-out infinite alternate}
.stock-success{text-align:center;padding:36px 22px}
.stock-success>span{display:grid;place-items:center;width:70px;height:70px;margin:0 auto 25px;border-radius:50%;background:#ddf1df;color:#578764;font-size:36px}
.stock-success p:not(.eyebrow){font-size:13px;line-height:1.9;color:#9d87a5}
.stock-success .stock-primary{margin-top:24px}
.stock-shell{max-width:650px;padding-bottom:24px}
.stock-shell .app-header{padding-bottom:5px}
.stock-back{display:inline-block;color:#866696;font-size:12px;text-decoration:none;padding:12px 0;min-height:44px}
.stock-demo-tools{max-width:650px;margin:22px auto 0;border-top:1px dashed #ddcde5;padding-top:16px}
.stock-demo-tools summary{font-size:11px;color:#9c83a9;cursor:pointer;min-height:40px}
.stock-demo-tools label{font-size:12px;color:#8c7598;display:grid;gap:9px}
.stock-demo-tools select{width:100%;padding:12px;border:1px solid #d9c6e5;border-radius:12px;font:inherit;background:#fffdfa;color:#725086}
.stock-shell :focus-visible{outline:3px solid #ab81ca;outline-offset:3px}
@keyframes stockGradient{to{background-position:100% 50%}
}
@keyframes stockFloat{50%{transform:translateY(-5px) rotate(3deg)}
}
@keyframes stockTravel{to{transform:translateX(235%)}
}
@media(max-width:370px){.stock-heading h1{font-size:25px}
.stock-box{padding:16px}
.stock-footer{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}
.stock-progress>div{font-size:10px}
.stock-item{grid-template-columns:minmax(0,1fr) 75px}
}
@media(min-width:700px){.stock-footer{margin-left:-10px;margin-right:-10px;border-radius:18px 18px 0 0}
.stock-heading{margin-top:28px}
}
@media(prefers-reduced-motion:reduce){.stock-loading>span,.stock-track>span,.stock-process.is-working{animation:none}
.stock-track>span{width:50%;margin:auto}
}


.stock-read-note{margin:20px 0;padding:17px 18px;border:1px solid #decbea;border-radius:17px;background:#f6edff;color:#71518a}.stock-read-note>strong{font-size:13px}.stock-read-note>p{font-size:12px;line-height:1.8;margin:8px 0;color:#947aab}.stock-read-note .stock-secondary{margin-top:12px;min-height:45px;border:1px solid #d6bfe7;background:#fffcfa;font-size:12px}.stock-catalog-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px}.stock-catalog-tools small{font-size:10px;color:#a08aa9}.stock-photo-note{font-size:11px;color:#9c7bb2;background:#f6eefc;border-radius:9px;padding:10px 12px;line-height:1.7}.stock-catalog-item{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:17px 0;border-top:1px solid #f0e8f0}.stock-catalog-item strong{font-size:13px;line-height:1.7;display:block}.stock-catalog-item small{font-size:10px;line-height:1.7;color:#a189ad;display:block;margin-top:4px}.stock-catalog-item>span{flex-shrink:0;padding:7px 10px;background:#f1f7f0;border-radius:9px;font-size:11px;color:#71957c;max-width:40%;overflow-wrap:anywhere}.stock-catalog-item>div{min-width:0;overflow-wrap:anywhere}

/* Camera capture is primary; the separate picker does not request capture. */
.stock-photo-upload{position:relative;display:inline-flex;align-items:center;overflow:hidden;cursor:pointer;box-sizing:border-box}
.stock-photo-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.stock-photo-upload:focus-within{outline:3px solid #b78bd2;outline-offset:3px}

button.stock-photo{font:inherit;text-align:left}
.stock-camera-dialog{width:min(92vw,640px);max-height:90dvh;overflow:auto;box-sizing:border-box;padding:20px;border:1px solid #d9c5e4;border-radius:20px;background:#fff9ef;color:#443057}
.stock-camera-dialog::backdrop{background:#21182ac9}
.stock-camera-dialog h2{margin:0 0 14px;font-size:19px}
.stock-camera-dialog video{display:block;width:100%;max-height:52dvh;min-height:160px;object-fit:contain;background:#17121c;border-radius:12px}
.stock-camera-dialog [role=status]{font-size:13px;line-height:1.7;min-height:2em}
.stock-camera-actions{display:flex;flex-wrap:wrap;gap:8px}.stock-camera-actions button{flex:1 1 44%;min-height:46px}
