.login-body{display:grid;place-items:center;min-height:100vh}.login-panel{width:min(400px,90vw);padding:28px}.login-panel form{display:grid;gap:12px}.login-panel h1{font-size:24px}.query-bar{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.query-bar label{display:flex;flex-direction:column;gap:6px}.query-bar .check{flex-direction:row;align-items:center;padding:8px}.query-bar input[type=checkbox]{width:auto;box-shadow:none;outline:none}.record-row{padding:16px 0;border-bottom:1px solid #e7e9f1}.record-row p{margin:5px 0}.record-row pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.record-meta{color:#7c879a;font-size:12px}.sidebar-foot{display:flex;gap:12px;align-items:center}dialog{max-width:600px;border:1px solid #e3e6ef;border-radius:16px;padding:24px}dialog::backdrop{background:#0005}.query-bar input,.query-bar select{max-width:220px}.record-actions{display:flex;gap:12px;align-items:center}.record-actions button{font-size:12px}
.sidebar .sidebar-foot{flex-direction:column;align-items:stretch;gap:10px}.team-account-row{display:flex;align-items:center;justify-content:space-between;gap:8px}#team-settings{position:relative}#team-settings>summary{list-style:none;cursor:pointer;padding:9px 12px;border:1px solid #e7e9f1;border-radius:8px;background:white;color:#667085;font-size:13px}#team-settings>summary::-webkit-details-marker{display:none}#team-settings[open]>summary,#team-settings:has(.active)>summary{background:#f0edff;color:#5046e5}.team-settings-menu{position:absolute;bottom:calc(100% + 8px);left:0;right:0;z-index:30;padding:6px;background:white;border:1px solid #e7e9f1;border-radius:10px;box-shadow:0 8px 24px #20243b18}.team-settings-menu .nav-item{width:100%;text-align:left}.team-settings-menu [hidden]{display:none!important}
.team-price-line{display:flex;align-items:center;gap:10px}.team-price-line input{width:150px;min-width:0}.team-price-line span{white-space:nowrap}#price-dialog{max-width:95vw}#price-message:empty{display:none}#product-search{width:230px;max-width:100%;margin-left:auto}.team-product-cover{cursor:pointer}.product-title-link{border:0;background:none;padding:0;font:inherit;color:inherit;cursor:pointer;text-align:left}

.collector-image{width:100px;max-height:140px;object-fit:contain;display:block;margin-top:8px}#rule-shops input[type=checkbox]{width:auto;outline:none;box-shadow:none}#rule-form details{margin:18px 0}#rule-products{margin-top:16px}
.team-product-scroll{overflow-x:auto;background:white;border:1px solid #e3e6ef;border-radius:14px;padding:12px 16px}.team-product-table{width:100%;border-collapse:collapse;font-size:13px}.team-product-table th{text-align:left;background:#f6f7fa;color:#778299;font-weight:400}.team-product-table th,.team-product-table td{padding:14px;min-width:105px;border-bottom:1px solid #eceef5}.team-product-table td:first-child{min-width:250px;max-width:300px}.team-product-table strong{display:block;width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.team-product-table p{font-size:12px;color:#8590a3;margin:6px 0}.team-product-table td:last-child{vertical-align:top}.team-product-table td:last-child button{display:block}#product-detail{width:min(850px,90vw);max-width:90vw}#product-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.product-list-toolbar #product-count{margin-right:auto;font-size:13px;color:#778299}
.team-product-cover{float:left;width:64px;height:80px;object-fit:contain;margin:0 12px 8px 0}
.sidebar>nav{min-height:0;overflow-y:auto;flex:1}.sidebar>.brand,.sidebar>.sidebar-foot{flex-shrink:0}
.team-mode-tabs{display:flex;gap:24px;margin-bottom:18px}.team-mode-tabs button{border:0;background:none;padding:8px 0;color:#7c879a;cursor:pointer}.team-mode-tabs button.active{color:#252c3b;border-bottom:2px solid #5046e5}.team-composer{border:1px solid #e3e6ef;background:white;border-radius:18px;padding:22px}.team-composer-main{display:flex;gap:20px;min-height:100px;align-items:flex-start}.team-composer-main textarea{border:0;outline:none;box-shadow:none;resize:vertical;min-height:85px;flex:1;background:transparent;line-height:1.7}.team-composer-controls{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:12px}.team-composer-controls select{border:0;background:transparent;max-width:200px;padding:6px}.team-composer-controls .check{font-size:12px;display:flex;align-items:center;gap:4px}.team-composer-controls input[type=checkbox]{width:auto;outline:none;box-shadow:none}.reference-fan{position:relative;flex:0 0 80px;width:80px;height:95px;z-index:2}.reference-fan.has-images #team-add-reference{position:absolute;right:-2px;bottom:10px;border-radius:50%;width:26px;height:26px;opacity:0}.reference-fan.has-images:hover #team-add-reference,.reference-fan.has-images:focus-within #team-add-reference{opacity:1}.reference-fan:not(.has-images) #team-add-reference{width:68px;height:84px;border:1px dashed #d7dbe5;border-radius:8px;background:#f6f7fa;font-size:24px;color:#8590a3}.team-reference-card{position:absolute;top:5px;left:calc(var(--i)*4px);width:55px;height:74px;transform:rotate(calc(var(--i)*4deg - 4deg));transition:transform .15s,left .15s}.team-reference-card>img:first-child{width:55px;height:74px;object-fit:cover;border:3px solid white;box-shadow:0 2px 6px #0002}.reference-fan:hover .team-reference-card,.reference-fan:focus-within .team-reference-card{left:calc(var(--i)*65px);transform:none}.team-reference-card .reference-preview{display:none;position:absolute;bottom:90px;left:0;width:200px;max-height:300px;object-fit:contain;border-radius:10px;background:white;box-shadow:0 5px 25px #0002;z-index:5}.team-reference-card:hover .reference-preview{display:block}.reference-remove{display:none;position:absolute;top:-5px;right:-6px;border:0;border-radius:50%;width:19px;height:19px;background:#687080;color:white}.team-reference-card:hover .reference-remove,.team-reference-card:focus-within .reference-remove{display:block}.team-reference-card select{display:none;position:absolute;top:74px;left:0;max-width:80px;font-size:11px}.team-reference-card:hover select,.team-reference-card:focus-within select{display:block}.reference-dragging{outline:2px dashed #9b94d7;outline-offset:3px}.team-image-batch{margin:24px 0 18px}.team-image-batch>p{font-size:12px;color:#8590a3;margin:5px 0 10px}.team-image-batch .team-history-prompt{color:#303646;font-size:13px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.team-image-results{display:flex;gap:4px;justify-content:flex-start;overflow-x:auto}.team-image-results img{max-height:420px;max-width:min(460px,75vw);object-fit:contain;border-radius:6px}.team-image-batch .actions{display:flex;gap:6px;margin-top:10px}.team-image-batch details{position:relative}.team-image-batch summary{list-style:none;cursor:pointer;padding:8px 12px;background:white;border-radius:7px}.team-image-batch details>button{position:absolute;bottom:40px;white-space:nowrap;background:white}#image-save-status{font-size:12px;color:#8590a3}.team-image-provider-panel{margin-top:30px}
.team-library-picker{width:min(720px,90vw);max-width:90vw;max-height:85vh;overflow:auto}.team-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px;margin-bottom:18px}.team-library-tile{display:flex;flex-direction:column;min-width:0}.team-library-tile img{width:100%;height:110px;object-fit:contain;background:#eeeaf6}.team-library-tile span{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}

.team-product-detail{width:min(1000px,92vw);max-width:92vw;max-height:90vh;overflow:auto}.team-product-detail-metrics{display:flex;flex-wrap:wrap;gap:18px;margin:18px 0}.team-product-detail-metrics>div{display:flex;flex-direction:column;gap:5px;min-width:120px}.team-product-detail small{display:block;color:#778299}.team-product-related-row{padding:12px 0;border-bottom:1px solid #eceef5}.team-product-evidence{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;max-height:45vh;overflow:auto}.team-product-detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.team-product-detail-cover{max-width:220px;max-height:220px;object-fit:contain;background:#e6e4ed}
body{min-width:0}.product-list-toolbar{flex-wrap:wrap}
dialog .dialog-heading{position:sticky;top:-1px;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;background:#fff;padding:10px 0;border-bottom:1px solid #e3e6ef}
dialog .dialog-heading h3{margin:6px 0;min-width:0;overflow-wrap:anywhere}
dialog .dialog-heading>.btn{flex:0 0 auto;white-space:nowrap;min-height:40px}
.team-rule-settings{width:780px;max-width:90vw;max-height:85vh;overflow:auto}.team-rule-settings form{display:grid;gap:14px}.team-rule-settings::backdrop{background:#18223666}

.sidebar .nav-item .ico{flex-shrink:0;margin-right:10px;vertical-align:middle}

/* Shared header status without importing all desktop summary layouts. */
.team-collection-heading{display:inline-flex;align-items:center;min-width:0}
.element-derivation-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin:16px 0}
.element-derivation-options[hidden]{display:none}
.element-derivation-options label{display:flex;flex-direction:row;align-items:center;gap:6px}
.element-derivation-options input[type=checkbox]{width:auto;margin:0}
.element-derivation-options p{grid-column:1/-1;margin:0}
.collection-indicator{width:26px;height:26px;border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:none;padding:0;margin-left:8px}
.collection-indicator::before{content:'';width:10px;height:10px;border-radius:50%;background:#94a3b8;box-shadow:0 0 0 3px #94a3b820}
.collection-indicator[data-status=green]::before{background:#16a34a;box-shadow:0 0 0 3px #16a34a20}
.collection-indicator[data-status=yellow]::before{background:#eab308;box-shadow:0 0 0 3px #eab30820}
.collection-indicator[data-status=red]::before{background:#dc2626;box-shadow:0 0 0 3px #dc262620}
.collection-indicator:focus-visible{outline:2px solid #6354db;border-radius:5px}

.team-text-prompt-editor{margin:12px 0}.team-text-prompt-editor label{display:flex;flex-direction:column;gap:6px}.team-text-prompt-editor textarea{width:100%;box-sizing:border-box}.team-text-prompt-editor .btn{margin-right:8px}

.login-panel .remember-login{display:flex;align-items:center;gap:8px;font-size:13px;color:#5b6475}.login-panel .remember-login input{width:auto;margin:0}
.wb-fresh-offer{position:fixed;right:20px;bottom:20px;z-index:50;box-shadow:0 4px 14px rgba(30,40,80,.15)}

.login-link{margin-top:20px;text-align:center}.login-link a{color:#5546df;text-decoration:none}.login-panel .muted{font-size:13px;line-height:1.6}.invitation-issued{padding:18px;border:1px solid #dedaf8;background:#f7f5ff;border-radius:12px;margin:16px 0}.invitation-issued[hidden]{display:none}.invitation-issued code{display:block;font:600 18px monospace;overflow-wrap:anywhere;user-select:all;margin:14px 0;color:#4535c7}.account-private-note{color:#6955a0}.account-note-editor{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.account-note-editor input{flex:1;min-width:180px}.account-manual{margin-top:24px}.account-manual .query-bar{margin-top:14px}
.account-permissions{display:grid;gap:12px;margin:16px 0;max-width:760px}.account-permissions>label{display:grid;gap:6px;max-width:360px}.account-permissions fieldset{display:flex;flex-wrap:wrap;gap:10px 18px;border:1px solid #d8dce3;border-radius:8px;padding:14px;min-width:0}.account-permissions fieldset>label{display:flex;align-items:center;gap:6px;min-height:36px;cursor:pointer}.account-permissions input[type=checkbox]{width:18px;height:18px;flex:none;accent-color:#5546df}.account-permissions .record-actions{flex-basis:100%}.account-permissions fieldset:disabled{opacity:.65}.account-permissions .muted{margin:0}#account-records>[hidden]{display:none}#account-search{max-width:360px;width:100%;margin:8px 0 16px}
