/* LEONARDO WORKSHOP · STUDIO 0.17
   Cards share the same quiet, contextual information footer. Purely cosmetic:
   no content editor's dimensions or stored page measurements are changed. */
.item > .workshop-card-footer {
  position:absolute;
  left:0;
  right:0;
  top:100%;
  z-index:16;
  min-height:40px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:#f8f2e9;
  border-top:1px solid #dfd5c4;
  border-radius:0 0 14px 14px;
  box-shadow:0 6px 14px #54453316;
  color:#5d5145;
  font-family:'Segoe UI',Arial,sans-serif;
  font-size:11px;
  overflow:visible;
  user-select:none;
}
.item > .workshop-card-footer .ws-footer-line {
  display:flex;align-items:center;justify-content:space-between;
  min-height:39px;gap:8px;padding:4px 12px 4px 14px;
}
.item .ws-footer-meta {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;letter-spacing:.08px;}
.item .ws-footer-more {
  min-width:29px;width:29px;height:28px;
  display:grid;place-items:center;flex:none;
  border:none;border-radius:8px;
  background:transparent;color:#463b31;
  font-size:21px;font-weight:700;line-height:1;
  cursor:pointer;
}
.item .ws-footer-more:hover,
.item .ws-footer-more:focus-visible {background:#e9ddcb;}
.item .ws-footer-description {
  margin:0 14px 11px;
  color:#756859;
  font-size:11px;line-height:1.45;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  overflow:hidden;overflow-wrap:anywhere;
  white-space:normal;
}
.item .ws-footer-editor {
  position:absolute;
  bottom:calc(100% + 8px);
  right:0;
  width:min(315px,100%);
  padding:16px;
  background:#f2e7d4;
  border:1px solid #d4c3ac;
  border-radius:15px;
  box-shadow:0 15px 44px #43382435;
  z-index:1001;
  color:#262626;
  user-select:text;
}
.item .ws-footer-editor label {
  font-size:11px;font-weight:800;letter-spacing:.7px;
  display:flex;justify-content:space-between;align-items:center;
}
.item .ws-footer-editor small {color:#817464;font-size:10px;}
.item .ws-footer-editor textarea {
  margin:9px 0 12px;width:100%;max-height:180px;min-height:86px;
  display:block;resize:vertical;
  border:1px solid #d8c8b3;border-radius:11px;
  background:#faf9f5;color:#262626;padding:11px;
  font-family:'Segoe UI',Arial,sans-serif;font-size:13px;line-height:1.5;
  box-sizing:border-box;
}
.item .ws-footer-editor textarea:focus-visible {outline:2px solid #262626;outline-offset:1px;}
.item .ws-footer-actions {display:flex;justify-content:flex-end;gap:8px;}
.item .ws-footer-actions button {
  border:1px solid #d8c9b6;background:#e9ddca;color:#29251f;
  border-radius:9px;padding:8px 12px;font-size:11px;font-weight:700;
}
.item .ws-footer-actions [data-footer='save'] {background:#262626;border-color:#262626;color:#faf9f5;}
/* Existing body corners are now internal to a three-part card
   (header / tool surface / footer) and should not create a double-corner seam. */
.item:has(> .workshop-card-footer) > .item-body {
  border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;
}
/* Image, text, labels, canvas, and arrow remain intentionally header/footer free. */
