/* Modal shell, typography, primary/secondary buttons and toolbar action come from the panel. */
#carryOpen[hidden], #carryDialog [hidden], .carry-photo [hidden] {display:none!important}
#carryOpen {min-height:44px}
.carry-tag {display:inline-flex;justify-self:start;padding:4px 9px;border-radius:var(--r-pill);background:var(--repeat-w);color:var(--repeat-ink);font-size:12px;font-weight:650}
#carryDialog,.carry-photo {position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(540px,calc(100% - 24px));max-height:min(90dvh,780px);padding:0;overflow:hidden;color:var(--ink);font-family:inherit}
#carryDialog[open],.carry-photo[open] {display:flex;flex-direction:column}
#carryDialog::backdrop,.carry-photo::backdrop {background:rgb(8 20 38 / 38%)}
#carryDialog .carry-head,.carry-photo header {align-items:center;padding:18px 20px;margin:0;border-bottom:1px solid var(--line-2)}
.carry-head > div:last-child {min-width:0;overflow-wrap:anywhere}
#carryKicker,.carry-photo header small {color:var(--blue-ink);font-weight:700;font-size:10px;letter-spacing:.08em}
#carryTitle {margin:2px 0}
#carryDialog .carry-body {min-height:0;overflow:auto;overscroll-behavior:contain;padding:14px 18px 16px}
.carry-dest {background:var(--d-blue-soft,var(--info-w));border-radius:var(--r-sm);padding:10px 12px;margin-bottom:16px;display:grid;gap:2px;overflow-wrap:anywhere}
.carry-dest small,#carryRows small,#carryStatus {color:var(--ink-2);font-size:12px;line-height:1.4}
.carry-dest strong {font-size:14px}
#carryDialog .brut-modal-field {display:grid;gap:6px;margin:0 0 10px;color:var(--ink);font-size:15px;font-weight:650}
#carryDialog input[type=search] {box-sizing:border-box;min-width:0;font:inherit;font-weight:400;font-size:16px}
#carryRows {display:grid;gap:8px}
.carry-row {display:grid;grid-template-columns:68px minmax(0,1fr) 24px;align-items:center;gap:10px;padding:8px 12px 8px 8px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface)}
.carry-row:has(:checked) {border-color:var(--blue);background:color-mix(in srgb,var(--blue) 8%,var(--surface))}
.carry-row label {display:flex;flex-direction:column;justify-content:center;align-self:stretch;gap:4px;cursor:pointer;overflow-wrap:anywhere}
.carry-row strong {font-size:14px;line-height:1.3;font-weight:650}
.carry-row input {width:20px;height:20px;accent-color:var(--blue)}
.carry-thumb {position:relative;display:grid;place-items:center;overflow:hidden;padding:0;width:68px;height:68px;border:1px solid var(--line-2);border-radius:var(--r-sm);background:var(--surface-2)}
.carry-thumb img {width:100%;height:100%;object-fit:cover}.carry-num {position:absolute;bottom:2px;right:2px;background:var(--ink);color:var(--surface);padding:1px 5px;border-radius:var(--r-pill);font-size:10px}
.carry-thumb.empty {font-size:11px;color:var(--ink-2);text-align:center;line-height:1.25}.carry-empty {font-size:14px;color:var(--ink-2);padding:10px}
#carryDialog footer,.carry-photo footer {padding:12px 18px 16px;border-top:1px solid var(--line-2)}
#carryStatus {display:block;margin-bottom:10px}
#carryGo:disabled,.carry-photo button:disabled {opacity:.48;box-shadow:none;cursor:default}
.carry-photo {width:min(760px,calc(100% - 24px))}.carry-photo header h3 {font-size:16px;overflow-wrap:anywhere}.carry-frame {min-height:0;display:grid;place-items:center;background:var(--surface-2);overflow:auto}.carry-frame img {display:block;max-height:55dvh;max-width:100%;object-fit:contain}.carry-photo footer {display:flex;align-items:center;gap:8px}.carry-photo footer button:last-child {margin-left:auto}
@media (max-width:430px) {#carryDialog .brut-modal-actions {flex-wrap:nowrap} #carryDialog .brut-modal-btn {padding-inline:10px} #carryGo {flex:1}}
@media (max-height:460px) {#carryDialog[open],.carry-photo[open] {display:block;overflow:auto}}
