/* Cards mobile atelier & guest three-width audit refinements. */
/* The upload input must stay focusable but never extend beyond its label.
   A 1px clipped input positioned against the label avoids mobile overflow. */
.sc-cards-upload{position:relative}
.sc-cards-upload input[data-card-upload]{position:absolute!important;left:0!important;top:0!important;width:1px!important;min-width:1px!important;max-width:1px!important;height:1px!important;min-height:1px!important;max-height:1px!important;padding:0!important;border:0!important;clip-path:inset(50%);opacity:0}
.sc-cards-upload:focus-within{outline:3px solid #9e627c;outline-offset:3px}
@media(max-width:900px){.footer .footgrid{flex-wrap:wrap;gap:22px}.footer .footlinks{flex-wrap:wrap;gap:10px 17px;max-width:100%;min-width:0}}
.sc-card-moment-moves{display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap}
.sc-card-moment-moves button{min-width:35px;min-height:36px;padding:7px 9px}
.sc-card-moment-moves button:disabled{opacity:.36;cursor:default;text-decoration:none}
.sc-card-moment-moves button:focus-visible{outline:3px solid #aa718b;outline-offset:1px}
.sc-device-matrix{margin:20px 0;padding:17px;border:1px solid #d9c6d0;background:#fcf8f7;color:#594052}
.sc-device-matrix .eyebrow{font:700 10px Arial,sans-serif;letter-spacing:.14em;color:#a27185}
.sc-device-matrix h3{font:normal 23px Georgia,serif;line-height:1.25;margin:7px 0;color:#513848}
.sc-device-matrix p{font:12px/1.6 Arial,sans-serif;color:#79636d;margin:6px 0 11px}
.sc-device-matrix button{min-height:42px;padding:10px 15px;background:#60394f;color:#fff;border:1px solid #60394f;font:700 12px Arial,sans-serif;cursor:pointer}
.sc-device-matrix button:focus-visible{outline:3px solid #b5829c;outline-offset:3px}
.sc-device-matrix-results{margin-top:13px;display:grid;gap:9px}
.sc-device-matrix-row{padding:12px;border:1px solid #e1d1d7;background:#fff}
.sc-device-matrix-row>div{display:flex;justify-content:space-between;align-items:center;gap:10px}
.sc-device-matrix-row strong{font:normal 22px Georgia,serif}
.sc-device-matrix-row span{font:700 12px Arial,sans-serif}
.sc-device-matrix-row small{display:block;font:11px/1.65 Arial,sans-serif;color:#806c77;margin-top:5px}
.sc-device-matrix-row.has-warnings{border-left:3px solid #a36b4f}
.sc-device-matrix-row.is-clear{border-left:3px solid #667e70}
.sc-device-matrix-row.needs-review{border-left:3px solid #b2a39a}
.sc-device-matrix-row .sc-screen-inspection-verdict{margin:10px 0 0}
.sc-device-matrix-row ul{padding-left:20px}
.sc-device-matrix-limit{font-size:11px!important;margin-top:10px!important}
@media(max-width:600px){.sc-device-matrix{padding:13px}.sc-device-matrix-row>div{align-items:flex-start;flex-direction:column;gap:3px}.sc-card-story-edit-chapter-heading{align-items:flex-start}}