.ft-workspace{display:grid;gap:16px;color:#113554}.ft-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:9px}.ft-toolbar label,.ft-meta label,.ft-item-fields label,.ft-sample label{display:grid;gap:5px;font-size:12px;color:#51708b}.ft-workspace input,.ft-workspace textarea{font:inherit;color:#123653;background:#fff;border:1px solid #c7ddeb;border-radius:8px;padding:9px 11px;min-width:0;width:100%}.ft-workspace textarea{min-height:86px;resize:vertical}.ft-workspace button{border:1px solid #b8d9ee;border-radius:8px;background:#fff;color:#006da9;font:inherit;font-weight:600;padding:9px 12px;cursor:pointer}.ft-workspace button:hover{background:#eaf7ff}.ft-workspace button:disabled{opacity:.52;cursor:not-allowed}.ft-workspace button.operations-primary{background:linear-gradient(105deg,#0877b4,#19b3d8);color:#fff;border:0}.ft-card{background:#fff;border:1px solid #d2e6f2;border-radius:12px;padding:18px;box-shadow:0 5px 17px #1843630b;min-width:0}.ft-card h2{font-size:18px;margin:0 0 7px}.ft-card p{color:#5a7892;margin:0 0 13px}.ft-card small{display:block;color:#62829b;margin-top:10px}.ft-meta,.ft-sample{display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1fr);gap:14px;align-items:start}.ft-section-head,.ft-item-head{display:flex;justify-content:space-between;gap:12px;align-items:start}.ft-items{display:grid;gap:12px}.ft-item{border:1px solid #c9e3f0;background:#f6fbfe;border-radius:10px;padding:13px;min-width:0}.ft-item-head{margin-bottom:12px}.ft-item-head button{color:#b33342;border-color:#f1cbd0}.ft-item-fields{display:grid;grid-template-columns:minmax(160px,1.3fr) minmax(100px,.55fr) minmax(160px,1.4fr);gap:10px}.ft-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.ft-photo-tile{min-height:115px;border:1px dashed #adcfe2;border-radius:9px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:10px;text-align:center}.ft-photo-tile>span{font-size:12px;color:#567891}.ft-photo-tile img{max-width:100%;max-height:180px;object-fit:contain;border-radius:5px}.ft-photo-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}@media(max-width:850px){.ft-meta,.ft-sample,.ft-item-fields{grid-template-columns:1fr}.ft-section-head{flex-wrap:wrap}}@media(max-width:540px){.ft-photo-grid{grid-template-columns:1fr}.ft-toolbar>*{flex:1 1 auto}.ft-card{padding:13px}}
.ft-print-actions{position:relative;display:flex;gap:9px}
.ft-history summary{display:flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;height:100%;min-height:41px;padding:9px 12px;border:1px solid #b8d9ee;border-radius:8px;background:#fff;color:#006da9;font-weight:600;list-style:none;cursor:pointer}
.ft-history summary::-webkit-details-marker{display:none}
.ft-history summary::after{content:'⌄';line-height:1}
.ft-history[open] summary::after{transform:rotate(180deg)}
.ft-history summary:hover,.ft-history[open] summary{background:#eaf7ff}
.ft-history summary:focus-visible{outline:2px solid #0787c3;outline-offset:2px}
.ft-dates{position:absolute;inset-inline:0;top:calc(100% + 6px);z-index:10;max-height:min(280px,44dvh);overflow:auto;overscroll-behavior:contain;padding:6px;border:1px solid #d2e6f2;border-radius:10px;background:#fff;box-shadow:0 8px 20px #18436326}
.ft-dates button{width:100%;min-height:40px;border:0;text-align:left}
.ft-dates p{margin:0;padding:9px 12px;color:#567891}
@media(max-width:540px){.ft-print-actions{flex-basis:100%}.ft-print-actions>*{flex:1 1 0;min-width:0}}
.ft-camera-backdrop{position:fixed;inset:0;z-index:10000;background:#0b2944a8;display:grid;place-items:center;padding:12px}.ft-camera-dialog{background:#fff;width:min(680px,100%);max-height:calc(100vh - 24px);overflow:auto;border-radius:14px;padding:17px;box-shadow:0 15px 45px #07203777}.ft-camera-dialog header,.ft-camera-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.ft-camera-dialog h2{font-size:18px;margin:0}.ft-camera-dialog video{display:block;width:100%;max-height:60vh;aspect-ratio:4/3;object-fit:contain;background:#122638;border-radius:9px;margin:12px 0}.ft-camera-dialog p{color:#587992;font-size:13px}.ft-camera-dialog button{border:1px solid #b8d9ee;border-radius:8px;background:#fff;color:#006da9;font:inherit;font-weight:600;padding:9px 12px;cursor:pointer}.ft-camera-dialog .operations-primary{background:#078bc4;color:#fff;border:0}
.ft-photo-tile.is-pending{border-color:#40a8d2;background:#f1faff}.ft-photo-tile.is-pending small{font-size:11px;color:#0877a8;margin:0}.ft-pending-count{align-self:center;border-radius:999px;padding:7px 10px;background:#eaf8ff;color:#0877a8;font-size:12px;font-weight:700}
