#feral-studio-root .stock-page{padding:60px 0 80px;color:#243e52}#feral-studio-root .stock-heading{display:flex;justify-content:space-between;gap:30px;align-items:start}#feral-studio-root .stock-heading h1{font-size:clamp(30px,4vw,48px);font-weight:500;letter-spacing:-.03em;margin:14px 0 20px}#feral-studio-root .stock-heading p{max-width:650px;font-size:17px;line-height:1.65}#feral-studio-root .stock-private{font-size:13px;color:#5d707e;text-decoration:none;white-space:nowrap;border-bottom:1px solid #c6d0d7;padding:7px 0}#feral-studio-root .stock-note{color:#657680;font-size:13px;line-height:1.7;max-width:900px}#feral-studio-root .stock-filters{display:flex;gap:20px;align-items:end;flex-wrap:wrap;padding:26px 0;margin-top:20px;border-block:1px solid #e2e8ec}#feral-studio-root .stock-filters label,#feral-studio-root .stock-editor label{display:flex;flex-direction:column;gap:8px;font-size:14px}#feral-studio-root .stock-filters select,#feral-studio-root .stock-editor input,#feral-studio-root .stock-editor select,#feral-studio-root .stock-editor textarea{font:inherit;background:white;color:#203d52;border:1px solid #cfdae1;border-radius:5px;padding:11px;max-width:100%;min-height:43px}#feral-studio-root .stock-filters .stock-check{flex-direction:row;align-items:center;min-height:43px}#feral-studio-root .stock-check input{accent-color:#193f63}#feral-studio-root .stock-outline{font-weight:600;font-family:inherit;font-size:14px;color:#294a62;background:transparent;border:1px solid #cbd7df;border-radius:6px;padding:11px 16px;cursor:pointer}#feral-studio-root .stock-outline:hover{background:#f0f5f8}#feral-studio-root .stock-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin:26px 0}#feral-studio-root .stock-card{border:1px solid #dce4e9;border-radius:8px;overflow:hidden;background:white;display:flex;flex-direction:column}#feral-studio-root .stock-card>img{width:100%;height:210px;object-fit:cover;background:#f0f2f3}#feral-studio-root .stock-card-body{padding:22px;display:flex;flex-direction:column;flex:1}#feral-studio-root .stock-card h2{font-size:21px;font-weight:500;margin:7px 0 12px}#feral-studio-root .stock-card p{margin:5px 0;line-height:1.55}#feral-studio-root .stock-meta{font-size:13px;color:#647783}#feral-studio-root .stock-card-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:auto;padding-top:20px}#feral-studio-root .stock-card-actions label{font-size:13px;display:flex;gap:5px;align-items:center}#feral-studio-root .stock-card-actions input{width:55px;padding:8px;border:1px solid #cbd7df;border-radius:4px;font:inherit}#feral-studio-root .stock-card-actions .fm-button{font-size:14px;padding:11px 16px;border-radius:6px;background:#193f63}#feral-studio-root .stock-warning{color:#8a4a24;font-size:14px;line-height:1.6}#feral-studio-root .stock-estimate{font-size:14px;line-height:1.5;background:#eff5f7;padding:12px;border-radius:5px;margin-top:12px!important}#feral-studio-root .stock-estimate[data-status="insufficient"],#feral-studio-root .stock-estimate[data-status="incompatible"],#feral-studio-root .stock-estimate[data-status="unavailable"]{color:#8a4a24;background:#fcf3e9}#feral-studio-root .stock-selected{background:#eef4f7;padding:20px;display:flex;gap:20px;align-items:center;justify-content:space-between}#feral-studio-root .stock-editor{width:min(620px,calc(100% - 32px));max-height:90vh;border:0;border-radius:12px;padding:28px;color:#243e52;box-shadow:0 12px 70px #15324b33}#feral-studio-root .stock-editor::backdrop{background:#122c4477}#feral-studio-root .stock-editor form{display:flex;flex-direction:column;gap:18px}#feral-studio-root .stock-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}#feral-studio-root .stock-dialog-heading{display:flex;align-items:center;justify-content:space-between}#feral-studio-root .stock-dialog-heading h2{font-size:24px;font-weight:500;margin:0}#feral-studio-root .stock-dialog-heading button{border:0;background:none;color:inherit;font-size:30px;cursor:pointer}#feral-studio-root .stock-editor textarea{min-height:80px;resize:vertical}#feral-studio-root .stock-inline{display:block;font-size:14px;color:#294a62;padding:14px 0}#feral-studio-root .stock-sample-panel{border-top:1px solid #dbe4e9;margin:20px 0;padding-top:16px}#feral-studio-root .stock-sample-panel h3{font-size:17px;margin:0 0 8px;color:#294a62}#feral-studio-root .stock-sample-panel a{color:#193f63;text-decoration:underline;text-underline-offset:4px}#feral-studio-root .stock-sample-panel p{font-size:14px;line-height:1.6}#feral-studio-root .stock-sample-panel small{font-size:12px;line-height:1.6;display:block;color:#657680}#feral-studio-root .stock-library-links{display:flex;gap:26px;align-items:center;flex-wrap:wrap;padding:18px 0}#feral-studio-root .stock-library-links>a{color:#294a62;text-decoration:none;font-size:15px}#feral-studio-root .stock-availability-filter{display:flex;gap:8px;align-items:center;font-size:14px;color:#294a62;padding:14px 0}#feral-studio-root .stock-availability-filter input{accent-color:#193f63}#feral-studio-root .stock-guide-link{color:#294a62;font-size:14px;line-height:1.6;text-underline-offset:4px}#feral-studio-root .stock-guide-alert{border-inline-start:3px solid #a66d30;padding:12px 16px;background:#fff8ef;color:#72502e;font-size:14px;margin:12px 0}#feral-studio-root .stock-guide-alert button{border:0;background:none;color:#294a62;text-decoration:underline;cursor:pointer;font:inherit;margin-top:10px;display:block}#feral-studio-root [hidden]{display:none!important}@media(max-width:1000px){#feral-studio-root .stock-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){#feral-studio-root .stock-page{padding:35px 0}#feral-studio-root .stock-grid{grid-template-columns:1fr}#feral-studio-root .stock-heading{flex-direction:column;gap:8px}#feral-studio-root .stock-filters{align-items:stretch;gap:14px}#feral-studio-root .stock-filters>label{width:100%}#feral-studio-root .stock-form-grid{grid-template-columns:1fr 1fr}#feral-studio-root .stock-selected{align-items:start;flex-direction:column}#feral-studio-root .stock-card>img{height:240px}}

#feral-studio-root .stock-tabs{display:flex;gap:12px;margin-top:30px}#feral-studio-root .stock-tabs a{border:1px solid #d0dbe3;border-radius:6px;padding:10px 20px;font-size:15px;color:#294a62;text-decoration:none}#feral-studio-root .stock-tabs a[aria-current="page"]{background:#edf3f7;border-color:#aebfcd}#feral-studio-root .stock-totals{display:flex;gap:24px;flex-wrap:wrap;font-size:16px;line-height:1.6;padding:24px 0 4px}#feral-studio-root .stock-totals strong{font-size:22px;color:#193f63;font-weight:500}#feral-studio-root .stock-price{font-size:19px;color:#193f63;font-weight:500;margin-top:12px!important}#feral-studio-root .stock-price del{font-size:14px;color:#788792;margin-right:8px}#feral-studio-root .stock-price small{font-size:12px;font-weight:400}

#feral-studio-root #editCustomFields{display:grid;gap:14px}

#feral-studio-root .stock-photo-pending{height:210px;display:grid;place-items:center;background:#f0f4f6;color:#607482;font-size:14px}
#feral-studio-root .stock-piece-list{margin:18px 0;border-top:1px solid #e2e8ec}#feral-studio-root .stock-piece-line{display:flex;gap:12px;align-items:center;padding:12px 2px;border-bottom:1px solid #e2e8ec;font-size:16px}#feral-studio-root .stock-piece-line input{accent-color:#193f63;width:17px;height:17px}#feral-studio-root .stock-area{display:flex;justify-content:space-between;gap:10px;font-size:15px}#feral-studio-root .stock-values{margin:18px 0;color:#294a62}#feral-studio-root .stock-values p{display:flex;justify-content:space-between;gap:12px;font-size:15px}#feral-studio-root .stock-values small{color:#657680;font-size:13px}#feral-studio-root .stock-piece-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:16px}#feral-studio-root .stock-edit-pieces{max-height:38vh;overflow:auto;border-block:1px solid #dbe4e9;padding:10px 0}#feral-studio-root .stock-edit-piece{display:grid;grid-template-columns:1fr auto 1fr auto;gap:10px;align-items:end;padding:8px 0}#feral-studio-root .stock-edit-piece input{width:100%;min-width:0;box-sizing:border-box}#feral-studio-root .stock-edit-piece>span{padding-bottom:12px}#feral-studio-root .stock-edit-piece>button{border:0;background:transparent;color:#627784;font-size:24px;height:43px;cursor:pointer}#feral-studio-root .stock-editor{width:min(740px,calc(100% - 32px))}

#feral-studio-root .stock-piece-line>button{margin-left:auto;border:0;background:none;color:#647987;font:inherit;font-size:23px;cursor:pointer;padding:0 8px}
#feral-studio-root .basin-stock-toolbar{display:flex;align-items:center;gap:24px;flex-wrap:wrap;padding:15px 0 24px}#feral-studio-root .basin-stock-toolbar label{display:flex;align-items:center;gap:8px;font-size:14px;color:#294a62}#feral-studio-root .basin-stock-toolbar input{accent-color:#193f63}#feral-studio-root .basin-stock-panel{padding:24px;background:#f2f6f8;margin:0 0 25px;border-radius:8px}#feral-studio-root .basin-stock-panel h3{font-size:22px;font-weight:500;margin:0}#feral-studio-root .stock-table-wrap{overflow:auto}#feral-studio-root .stock-table{border-collapse:collapse;width:100%;font-size:14px;color:#294a62}#feral-studio-root .stock-table th,#feral-studio-root .stock-table td{text-align:left;border-bottom:1px solid #dce4e9;padding:14px 12px;white-space:nowrap}#feral-studio-root .stock-table th{font-weight:600}#feral-studio-root .basin-stock-badge{font-size:13px;color:#193f63;border:1px solid #cbdbe5;align-self:start;padding:4px 9px;border-radius:5px}@media(max-width:650px){#feral-studio-root .basin-stock-panel{padding:16px}#feral-studio-root .basin-stock-panel>.stock-piece-heading{align-items:start;flex-direction:column}}
#feral-studio-root .stock-piece-dim{display:flex;flex-direction:column;gap:4px}#feral-studio-root .stock-piece-dim small,#feral-studio-root .stock-piece-code{font-size:13px;color:#647987;letter-spacing:.02em}#feral-studio-root .stock-edit-piece>.stock-piece-code{grid-column:1/-1}

#feral-studio-root .stock-piece-line>.stock-piece-area{margin-left:auto;font-size:12px;font-weight:400;white-space:nowrap;color:#647987}#feral-studio-root .stock-piece-line>button{margin-left:0}

/* Compact physical-piece rows: dimensions, immutable code, area */
#feral-studio-root .stock-piece-list{margin:12px 0;border:0}
#feral-studio-root .stock-piece-line{display:flex;align-items:center;flex-wrap:nowrap;gap:5px;padding:5px 0;border:0;line-height:1.5}
#feral-studio-root .stock-piece-line>.stock-piece-dim{display:inline;white-space:nowrap;font-size:14px}
#feral-studio-root .stock-piece-line>.stock-piece-code,#feral-studio-root .stock-piece-line>.stock-piece-area{display:inline;margin:0;white-space:nowrap;font-size:12px;font-weight:400;color:#647987;letter-spacing:0}
#feral-studio-root .stock-piece-line>.stock-piece-sep{font-size:11px;color:#a0adb5}
#feral-studio-root .stock-piece-line>input{width:14px;height:14px;margin:0 2px 0 0;flex:0 0 14px}
#feral-studio-root .stock-piece-line>button{margin:0 0 0 auto;padding:0 3px;height:23px;line-height:23px;font-size:19px}
@media(max-width:400px){#feral-studio-root .stock-piece-line{gap:3px}#feral-studio-root .stock-piece-line>.stock-piece-dim{font-size:13px}#feral-studio-root .stock-piece-line>.stock-piece-code,#feral-studio-root .stock-piece-line>.stock-piece-area{font-size:11px}#feral-studio-root .stock-piece-line>input{width:13px;height:13px;flex-basis:13px}}

#feral-studio-root .basin-search-stack{min-width:0}#feral-studio-root .basin-search-stack>label:first-child{display:block}#feral-studio-root .fb-filters .basin-stock-only{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:14px;font-weight:400;margin:9px 0 0;color:#294a62;line-height:1.4}#feral-studio-root .fb-filters .basin-stock-only input{width:15px;height:15px;min-height:0;padding:0;margin:0;accent-color:#193f63;flex:0 0 15px}

#feral-studio-root .stock-customer-grid{align-items:start}#feral-studio-root .stock-customer-card .stock-card-body{padding:16px 20px}#feral-studio-root .stock-customer-preview{display:flex;flex-direction:column;gap:7px;align-items:flex-start;width:100%;padding:0;border:0;background:transparent;color:#243e52;font-family:inherit;text-align:left;cursor:pointer}#feral-studio-root .stock-customer-title{font-size:16px;font-weight:500;line-height:1.5}#feral-studio-root .stock-customer-total{font-size:18px;font-weight:500;line-height:1.4}#feral-studio-root .stock-customer-preview>small{font-size:12px;line-height:1.6;color:#657680;font-weight:400}#feral-studio-root .stock-customer-preview:focus-visible{outline:2px solid #193f63;outline-offset:6px;border-radius:3px}#feral-studio-root .stock-view-links{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
#feral-studio-root .stock-marginal>img{opacity:.38}#feral-studio-root .stock-marginal .stock-customer-preview{color:#657680}#feral-studio-root .stock-marginal-note{font-size:12px;line-height:1.6;color:#657680;margin:10px 0 0}#feral-studio-root .stock-marginal .stock-customer-preview:focus-visible{opacity:1}
#feral-studio-root .stock-admin-card .stock-card-body{padding:16px 20px}#feral-studio-root .stock-workspace-tabs{display:flex;gap:22px;border-bottom:1px solid #e0e7eb;margin:22px 0}#feral-studio-root .stock-workspace-tabs button{font-family:inherit;font-size:15px;font-weight:500;color:#6b7c88;border:0;border-bottom:2px solid transparent;background:none;padding:10px 0;cursor:pointer}#feral-studio-root .stock-workspace-tabs button[aria-selected="true"]{color:#193f63;border-bottom-color:#193f63}#feral-studio-root .stock-workspace-tabs button:disabled{opacity:.4;cursor:default}#feral-studio-root .stock-private-note{background:#f3f6f8;padding:14px 16px;border-radius:6px;color:#526b7c;font-size:14px;line-height:1.6;margin:18px 0}#feral-studio-root .stock-private-note small{font-size:12px}#feral-studio-root .stock-private-note p{margin:5px 0 0}#feral-studio-root .stock-delete-link{border:0;background:none;align-self:center;color:#7b6f69;font:inherit;font-size:13px;padding:4px;cursor:pointer}

#feral-studio-root .stock-admin-card,#feral-studio-root .stock-customer-card{cursor:pointer}#feral-studio-root #stockInfo .stock-piece-dim,#feral-studio-root #stockInfo .stock-piece-code,#feral-studio-root #stockInfo .stock-piece-area,#feral-studio-root .stock-edit-piece input,#feral-studio-root .stock-edit-piece>.stock-piece-code{color:#a33a3a}#feral-studio-root .stock-workspace-tabs button{line-height:1.5}

#feral-studio-root .stock-card-pick{margin-top:5px;padding:6px 17px;border:1px solid #c5d0d8;border-radius:5px;font-size:14px;font-weight:600;color:#243e52;background:#f5f8fa}#feral-studio-root .stock-customer-preview:hover .stock-card-pick{border-color:#243e52;background:#edf3f7}

#feral-studio-root .stock-feral-confirmation{color:#99565b;font-size:13px;font-weight:400;line-height:1.6;margin:0 0 8px}

#feral-studio-root .stock-source-label{display:inline;font-size:12px;font-weight:400;line-height:1.4;color:#657680;margin-inline-start:6px}

#feral-studio-root .stock-colour-choice{gap:0;height:100%}#feral-studio-root .stock-colour-choice>img{display:block;width:100%;height:210px;object-fit:cover;background:#f0f2f3}#feral-studio-root .stock-colour-choice .stock-card-body{width:100%;box-sizing:border-box}#feral-studio-root .stock-colour-choice:hover{background:#f5f8fa}#feral-studio-root .stock-colour-choice:focus-visible{outline-offset:-3px}

#feral-studio-root .stock-guide-advice{padding:14px 16px;background:#f1f5f8;border-radius:6px;margin:16px 0;color:#526878;font-size:14px;line-height:1.6}#feral-studio-root .stock-guide-advice p{margin:0 0 6px;font-size:12px;line-height:1.35;letter-spacing:-.01em}

#feral-studio-root .stock-browse-values{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:14px;color:#294a62}#feral-studio-root .stock-browse-values small{font-size:11px;font-weight:400}#feral-studio-root .stock-pedestal-choose{display:block;color:#193f63;font-size:13px;font-weight:600;padding-top:0}#feral-studio-root .stock-customer-preview:not(button){cursor:default}

/* Keep piece rows independent of the editor's generic form-field layout */
#feral-studio-root #stockEditor{box-sizing:border-box;overflow-y:auto;overflow-x:hidden}
#feral-studio-root #stockEditor .stock-dialog-heading{gap:14px;align-items:flex-start}
#feral-studio-root #stockEditorTitle{min-width:0;overflow-wrap:anywhere}
#feral-studio-root #stockInfo .stock-piece-line{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;gap:5px;padding:5px 0;border:0;font-size:14px;line-height:1.5}
#feral-studio-root #stockInfo .stock-piece-line>input[type="checkbox"]{appearance:auto;box-sizing:border-box;flex:0 0 14px;width:14px;height:14px;min-height:0;min-width:0;max-width:14px;margin:0 3px 0 0;padding:0;accent-color:#193f63}
#feral-studio-root #stockInfo .stock-piece-line>.stock-piece-dim{display:inline;white-space:nowrap;font-size:14px}
#feral-studio-root #stockInfo .stock-piece-line>.stock-piece-code,#feral-studio-root #stockInfo .stock-piece-line>.stock-piece-area{display:inline;margin:0;white-space:nowrap;font-size:12px;line-height:1.5;font-weight:400;letter-spacing:0}
#feral-studio-root #editPieces .stock-edit-piece{grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr) 28px;gap:8px;align-items:end}
#feral-studio-root #editPieces .stock-edit-piece>label{min-width:0;gap:5px;font-size:13px}
#feral-studio-root #editPieces .stock-edit-piece input{box-sizing:border-box;min-width:0;width:100%;padding:10px 8px;font-size:15px}
#feral-studio-root #editPieces .stock-edit-piece>.stock-piece-code{grid-column:1/-1;line-height:1.4}
#feral-studio-root #editPieces .stock-edit-piece>button{width:28px;padding:0;line-height:43px}
#feral-studio-root .stock-customer-preview>img{display:block;width:100%;height:210px;object-fit:cover;background:#f0f2f3}
@media(max-width:480px){#feral-studio-root #stockEditor{padding:18px;width:calc(100% - 24px)}#feral-studio-root #stockEditorTitle{font-size:21px}#feral-studio-root #stockInfo .stock-piece-line{gap:3px}#feral-studio-root #stockInfo .stock-piece-line>.stock-piece-dim{font-size:13px}#feral-studio-root #stockInfo .stock-piece-line>.stock-piece-code,#feral-studio-root #stockInfo .stock-piece-line>.stock-piece-area{font-size:11px}#feral-studio-root #editPieces .stock-edit-piece{gap:6px}#feral-studio-root #stockInfo .stock-values p{flex-wrap:wrap;gap:4px 12px}}

/* Roomier working rows for offcut pieces */
#feral-studio-root #stockEditor{width:min(840px,calc(100% - 24px))}
#feral-studio-root #stockInfo .stock-piece-line{gap:8px;padding:9px 0;min-height:36px}
#feral-studio-root #stockInfo .stock-piece-line>.stock-piece-dim{font-size:17px}
#feral-studio-root #stockInfo .stock-piece-line>.stock-piece-code,#feral-studio-root #stockInfo .stock-piece-line>.stock-piece-area{font-size:12px}
#feral-studio-root #stockInfo .stock-piece-line>input[type="checkbox"]{width:16px;height:16px;max-width:16px;flex-basis:16px}
#feral-studio-root #editPieces .stock-edit-piece{gap:10px;padding:11px 0}
#feral-studio-root #editPieces .stock-edit-piece>label{font-size:14px}
#feral-studio-root #editPieces .stock-edit-piece input{font-size:17px;min-height:48px;padding:12px 10px}
#feral-studio-root #editPieces .stock-edit-piece>.stock-piece-code{font-size:12px}
#feral-studio-root #editPieces .stock-edit-piece>button{height:48px;line-height:48px}
@media(max-width:480px){#feral-studio-root #stockInfo .stock-piece-line{gap:4px;padding:8px 0}#feral-studio-root #stockInfo .stock-piece-line>.stock-piece-dim{font-size:14px}#feral-studio-root #stockInfo .stock-piece-line>.stock-piece-code,#feral-studio-root #stockInfo .stock-piece-line>.stock-piece-area{font-size:11px}#feral-studio-root #editPieces .stock-edit-piece{gap:7px}}

#feral-studio-root .stock-customer-grid{row-gap:14px}#feral-studio-root .stock-customer-card .stock-customer-preview{gap:0}#feral-studio-root .stock-customer-card .stock-customer-title{padding:9px 14px 5px;line-height:1.4;font-size:15px}#feral-studio-root .stock-customer-card .stock-browse-values{padding:5px 14px 11px;gap:4px 10px;flex:0;font-size:13px;line-height:1.4}#feral-studio-root .stock-customer-card .stock-pedestal-choose{padding:5px 14px 10px;font-size:12px}
