/* The live atelier retains its geometry and gesture engine. Only its chrome changes. */
body.bt-trama-workspace{font-family:BTGarden,Arial,sans-serif;background:#fff}.bt-trama-workspace .masthead>*{background:white;border:1px solid #17171710;border-radius:28px}.bt-trama-workspace .masthead .signature{border-radius:16px}.bt-trama-workspace .instrument>div{border-radius:28px;background:white;box-shadow:0 2px 15px #0001}.bt-trama-workspace .instrument button{border-radius:24px;min-height:42px}.bt-trama-workspace .layout-tools button[aria-pressed=true]{background:#171717}.bt-trama-workspace .edition-actions{border-radius:28px;background:#fff;box-shadow:0 2px 14px #0001}.bt-trama-workspace .edition-actions button,.bt-trama-workspace .edition-actions a{border-radius:22px}.bt-trama-workspace #save-piece{background:#171717;color:white}.bt-trama-workspace .zoom-tools{border-radius:30px;overflow:hidden;background:#fff;box-shadow:0 2px 15px #0001}.bt-trama-workspace .opening{background:#fff;border-radius:20px}.bt-trama-workspace .opening h1{font-size:clamp(80px,11vw,170px);letter-spacing:-.075em;line-height:.9;margin:20px 0}.bt-trama-workspace .opening .invitation{font-size:22px}.bt-trama-workspace .trama-gesture-guide{background:white;border:0;border-radius:14px;box-shadow:0 5px 40px #0002}.bt-trama-workspace .trama-gesture-hint+.trama-gesture-hint{border-color:#eee}.bt-trama-workspace #about,.bt-trama-workspace #editions{background:white;border-radius:22px;color:#171717;font-family:BTGarden,Arial,sans-serif}.bt-trama-workspace #editions h2{font-size:clamp(40px,6vw,88px);font-weight:500;letter-spacing:-.065em}.bt-trama-workspace .edition-card{background:#fff;border:0;border-bottom:1px solid #17171726;padding-bottom:25px}.bt-trama-workspace .edition-sheet{background:#f3f3f3;padding:22px;border:0}.bt-trama-workspace .edition-sheet canvas{width:100%;height:auto;object-fit:contain}.bt-trama-workspace .edition-card .bt-print-selector{display:none}.bt-trama-workspace .edition-primary{border-radius:30px;background:#171717;color:#fff;min-height:44px;padding:12px 20px;font-size:12px}.bt-trama-workspace .edition-library-bar{background:white;border-color:#ddd}.bt-trama-workspace .edition-statement{background:#f4f4f4;border:0;padding:20px}.bt-trama-workspace .edition-pending{font-size:11px;color:#666}.bt-trama-workspace .edition-availability{font-size:11px}.bt-trama-workspace .ga-dialog{font-family:BTGarden,Arial,sans-serif}.bt-trama-workspace .ga-dialog p{margin:0}.bt-trama-workspace .ga-product-byline{margin-top:12px!important;margin-bottom:34px!important}.bt-trama-workspace .ga-paper-explanation p{margin-top:8px}.bt-trama-workspace .ga-origin{margin:22px 0 20px!important}.bt-trama-workspace .ga-product-details p{margin-bottom:16px}.bt-trama-workspace .ga-view[data-view=room]>img{max-width:65%;max-height:80%;width:auto;height:auto;border:5px solid #171717;box-shadow:3px 8px 18px #0002}.bt-trama-workspace .ga-view[data-view=room]{background:#eee}.bt-trama-workspace .ga-view-tabs [data-view-button=room] .ga-thumb-image{padding:10px;border:0}.bt-trama-workspace .ga-view-tabs [data-view-button=room] img{border:2px solid #171717;object-fit:contain}.bt-trama-workspace .ga-buy-label span{font-size:10px}.bt-trama-workspace .ga-add:hover{background:#173ddb}.bt-trama-workspace .ga-dialog h2{margin:0;font-weight:500}.bt-trama-workspace .ga-dialog [data-product-code]{max-width:100%;overflow-wrap:anywhere;font-size:8px}.bt-trama-workspace .ga-buy-label strong{font-size:12px}.bt-trama-workspace .ga-dialog [data-view-caption]{margin:0}.bt-trama-workspace .ga-dialog-header>span:nth-child(2){padding:8px 14px;border-radius:25px;background:#f4f4f4;font-size:11px}
@media(max-width:760px){.bt-trama-workspace #editions{border-radius:0}.bt-trama-workspace .ga-buy{grid-template-columns:1fr}.bt-trama-workspace .ga-add{width:100%}.bt-trama-workspace .ga-dialog-header>span:nth-child(2){font-size:10px;max-width:none}.bt-trama-workspace .ga-product-info h2{font-size:36px}.bt-trama-workspace .ga-dialog .ga-product-byline{margin-bottom:25px!important}}

.bt-trama-workspace .ga-dialog [data-close]>span{display:none}.bt-trama-workspace .ga-paper-explanation p{font-size:12px;line-height:1.55}@media(max-width:760px){.bt-trama-workspace .ga-paper-explanation p{font-size:13px}}

.bt-trama-workspace .ga-size-choices button *{text-decoration:none!important}

/* A clear action rail, shared by desktop and touch. */
.bt-trama-workspace .masthead>* , .bt-trama-workspace .masthead .signature,
.bt-trama-workspace .instrument>div,.bt-trama-workspace .instrument button,
.bt-trama-workspace .zoom-tools,.bt-trama-workspace .trama-gesture-guide{border-radius:0;box-shadow:none}
.bt-trama-workspace .masthead{top:16px;left:20px;right:20px}
.bt-trama-workspace .masthead>*{border:0;padding:10px 14px}
.bt-trama-workspace .edition-actions{position:absolute;top:90px;left:20px;right:20px;max-width:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:0;background:#fff;border:1px solid #171717;border-radius:0;box-shadow:none;font-family:BTGarden,Arial,sans-serif;z-index:4}
.bt-trama-workspace .trama-actions-heading{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;padding:8px 14px;border-bottom:1px solid #17171726;gap:16px}
.bt-trama-workspace .trama-actions-heading p{margin:0;font-size:12px;font-weight:500;letter-spacing:-.01em}
.bt-trama-workspace .trama-actions-heading>div{display:flex;gap:24px;align-items:center}
.bt-trama-workspace .trama-actions-heading a,.bt-trama-workspace .trama-actions-heading button{font-size:11px;min-height:28px;padding:0;border:0;border-radius:0}
.bt-trama-workspace .edition-actions>.trama-action{display:grid;grid-template-columns:24px 1fr;gap:3px 12px;text-align:left;align-content:center;min-height:76px;padding:12px 16px;background:#fff;color:#171717;border-radius:0;border:0;font-family:inherit}
.bt-trama-workspace .trama-action+.trama-action{border-left:1px solid #17171726}
.bt-trama-workspace .trama-action-number{font-size:11px;grid-row:1/3;padding-top:3px;font-variant-numeric:tabular-nums}
.bt-trama-workspace .trama-action-title{font-size:23px;line-height:1.1;font-weight:500;letter-spacing:-.035em}
.bt-trama-workspace .trama-action small{font-size:11px;font-weight:400;line-height:1.4;grid-column:2}
.bt-trama-workspace .trama-action #saved-count{font-size:12px;font-weight:400;vertical-align:middle;margin-left:8px}
.bt-trama-workspace .edition-actions>#buy-piece{background:#171717;color:#fff}
.bt-trama-workspace .edition-actions>.trama-action:hover{background:#ebeeea;text-decoration:none}
.bt-trama-workspace .edition-actions>#buy-piece:hover{background:#173ddb}
.bt-trama-workspace .trama-actions-note{grid-column:1/-1;display:flex;justify-content:space-between;gap:16px;margin:0;padding:8px 14px;border-top:1px solid #17171726;font-size:11px;line-height:1.4}
.bt-trama-workspace .trama-action-status{grid-column:1/-1;margin:0;padding:8px 14px;border-top:1px solid #17171726;font-size:12px}
.bt-trama-workspace .trama-action-status:empty{display:none}
.bt-trama-workspace #piece.immersed .edition-actions{display:none}
.bt-trama-workspace #editions,.bt-trama-workspace #about,.bt-trama-workspace .edition-primary,.bt-trama-workspace .edition-card-actions button{border-radius:0}
.bt-trama-workspace .edition-card-actions{gap:8px}
.bt-trama-workspace .edition-card-actions .edition-primary{font-weight:500;min-height:48px;padding:12px 18px}
.bt-trama-workspace .edition-sheet{padding:8px;background:#f4f4f4}
.bt-trama-workspace #editions h2{font-size:clamp(40px,5vw,68px);margin:22px 0}
body.trama-mobile.bt-trama-workspace .tm-panel{padding-inline:12px;padding-top:0;background:white}
.trama-mobile.bt-trama-workspace .tm-steps{margin-bottom:8px}
.trama-mobile.bt-trama-workspace .tm-steps button{min-height:40px;font-size:11px}
.trama-mobile.bt-trama-workspace .tm-controls{min-height:42px;gap:6px}
.trama-mobile.bt-trama-workspace .tm-controls button{min-height:40px;padding:8px 10px;background:#fff;border-color:#d4d4d4;border-radius:0}
.trama-mobile.bt-trama-workspace .tm-controls #tm-next,.trama-mobile.bt-trama-workspace .tm-controls>button:last-child:not(#plane):not(#zoom-in){background:#fff;color:#171717;border-color:#171717}
.trama-mobile.bt-trama-workspace .tm-hint{font-size:10px;line-height:1.4;margin:8px 0}
body.trama-mobile.bt-trama-workspace .tm-panel #edition-actions{display:grid!important;position:static;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;max-width:none;margin:0;left:auto;right:auto;top:auto}
.trama-mobile.bt-trama-workspace .trama-actions-heading{display:none}
.trama-mobile.bt-trama-workspace .edition-actions>.trama-action{padding:9px 8px;min-height:74px;grid-template-columns:1fr;gap:4px;align-content:start}
.trama-mobile.bt-trama-workspace .trama-action-number{grid-row:auto;padding:0;font-size:9px}
.trama-mobile.bt-trama-workspace .trama-action-title{font-size:15px;letter-spacing:-.025em;line-height:1.2}
.trama-mobile.bt-trama-workspace .trama-action small{grid-column:1;font-size:9px;line-height:1.3}
.trama-mobile.bt-trama-workspace .trama-action #saved-count{font-size:10px;margin-left:3px}
.trama-mobile.bt-trama-workspace .trama-actions-note{display:block;font-size:10px;padding:7px 8px}
.trama-mobile.bt-trama-workspace .trama-actions-note>span{display:block}
.trama-mobile.bt-trama-workspace .trama-actions-note>span+span{font-size:9px;color:#656565;margin-top:2px}
.trama-mobile.bt-trama-workspace .capture-frame{display:block}
.trama-mobile.bt-trama-workspace .tm-header>a{font-size:12px;min-width:auto}
.trama-mobile.bt-trama-workspace .tm-header>a:first-child{font-size:0;min-width:32px}
.trama-mobile.bt-trama-workspace .tm-header>a:not(:first-child)::before{content:none}
.trama-mobile.bt-trama-workspace .trama-action-status{font-size:11px;padding:8px}
.trama-mobile.bt-trama-workspace .ga-dialog{padding:0!important;border-radius:0;max-height:100dvh!important}
@media(max-width:350px){.trama-mobile.bt-trama-workspace .trama-action-title{font-size:13px}.trama-mobile.bt-trama-workspace .trama-action small{font-size:8px}.trama-mobile.bt-trama-workspace .tm-header{padding-inline:12px;gap:6px}}

.bt-trama-workspace .edition-actions{align-items:stretch}
.bt-trama-workspace .edition-actions>#save-piece{background:#fff;color:#171717}
.bt-trama-workspace .edition-actions>#save-piece:hover{background:#ebeeea}
.trama-mobile.bt-trama-workspace .trama-action{position:relative}
.trama-mobile.bt-trama-workspace .trama-action #saved-count{position:absolute;top:9px;right:8px;padding:0;margin:0;font-size:10px}
.trama-mobile.bt-trama-workspace .trama-action-title{white-space:nowrap}

/* Give the artwork back the space: one compact action row. */
body:not(.trama-mobile).bt-trama-workspace .edition-actions>.trama-action{grid-row:1;min-height:60px;padding:9px 14px;gap:2px 10px}
body:not(.trama-mobile).bt-trama-workspace .trama-action-title{font-size:20px}
body:not(.trama-mobile).bt-trama-workspace .trama-actions-heading{grid-row:2;grid-column:3;justify-content:flex-end;padding:4px 14px;border-top:1px solid #17171726;border-bottom:0}
body:not(.trama-mobile).bt-trama-workspace .trama-actions-heading p{display:none}
body:not(.trama-mobile).bt-trama-workspace .trama-actions-heading a,body:not(.trama-mobile).bt-trama-workspace .trama-actions-heading button{min-height:24px;background:transparent}
body:not(.trama-mobile).bt-trama-workspace .trama-actions-note{grid-row:2;grid-column:1/3;align-items:center;padding:6px 14px;font-size:10px}
body:not(.trama-mobile).bt-trama-workspace .edition-actions{top:82px}
.trama-mobile.bt-trama-workspace .tm-steps{margin-bottom:6px}
.trama-mobile.bt-trama-workspace .tm-steps button{min-height:34px}
.trama-mobile.bt-trama-workspace .tm-hint{display:none}
.trama-mobile.bt-trama-workspace .tm-controls{margin-bottom:8px}
.trama-mobile.bt-trama-workspace .edition-actions>.trama-action{min-height:58px;align-content:center;padding:8px 7px;gap:4px}
.trama-mobile.bt-trama-workspace .trama-action-number{display:none}
.trama-mobile.bt-trama-workspace .trama-action #saved-count{position:static;font-size:9px;margin-left:2px}
.trama-mobile.bt-trama-workspace #my-pieces .trama-action-title{font-size:13px}
.trama-mobile.bt-trama-workspace .trama-actions-note{padding:6px 7px;font-size:9px;white-space:nowrap}
.trama-mobile.bt-trama-workspace .trama-actions-note>span+span{display:none}
.trama-mobile.bt-trama-workspace .capture-caption{font-size:9px}
.bt-trama-workspace .ga-dialog,.bt-trama-workspace .ga-viewer,.bt-trama-workspace .ga-paper-choices,.bt-trama-workspace .ga-paper-choices button,.bt-trama-workspace .ga-size-choices button,.bt-trama-workspace .ga-add{border-radius:0;box-shadow:none}

/* Gesture guidance stays in the margin, leaving the artwork unobstructed. */
.bt-trama-workspace .trama-gesture-guide{left:20px;top:calc(var(--workspace-top,190px) + 8px);transform:none;display:flex;background:#fff}
.bt-trama-workspace .trama-gesture-hint{width:auto;height:32px;flex-direction:row;gap:8px;padding:4px 10px}
.bt-trama-workspace .trama-gesture-hint::before{display:none}
.bt-trama-workspace .trama-gesture-icon{width:24px;height:22px}
.bt-trama-workspace .trama-gesture-label{font-size:9px;margin:0;letter-spacing:.03em}
.trama-mobile.bt-trama-workspace .trama-gesture-guide{left:50%;top:8px;transform:translateX(-50%);white-space:nowrap}
.trama-mobile.bt-trama-workspace .trama-gesture-hint{height:28px;padding:3px 8px;gap:6px}

/* The stage owns the screen; all desktop controls live in one precise rail. */
body:not(.trama-mobile).bt-trama-workspace:not(.embedded) #piece{display:grid;grid-template-columns:minmax(0,1fr) 300px;height:100dvh}
#trama-desktop-stage{position:relative;min-width:0;min-height:0;overflow:hidden;touch-action:none}
body:not(.trama-mobile).bt-trama-workspace #trama-desktop-stage #loom{position:absolute;inset:0;width:100%;height:100%}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar{position:relative;display:flex;flex-direction:column;gap:20px;background:#fff;color:#171717;border-left:1px solid #171717;padding:20px 18px 46px;overflow-y:auto;z-index:4;min-height:0}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .masthead{position:static;display:grid;grid-template-columns:1fr auto;gap:16px 12px;pointer-events:auto;align-items:center}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .masthead>*{padding:0;background:transparent}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .signature{gap:12px}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .signature span{font-size:8px}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .collection{grid-column:1/-1;grid-row:2;display:block;padding:14px 0 0;border-top:1px solid #17171726;font-size:10px;letter-spacing:.04em}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar #about-open{font-size:11px;min-height:40px}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar #edition-actions{position:static;display:grid;grid-template-columns:1fr;border:0;border-top:1px solid #17171726;width:100%;max-width:none}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .edition-actions>.trama-action{grid-column:1;grid-row:auto;min-height:86px;border:0;border-bottom:1px solid #17171726;padding:16px 8px;grid-template-columns:22px 1fr;gap:6px 10px}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .trama-action-title{font-size:24px}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .trama-actions-heading{grid-column:1;grid-row:5;padding:8px 0;justify-content:space-between;border:0}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .trama-actions-heading>div{width:100%;justify-content:space-between}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .trama-actions-note{grid-column:1;grid-row:4;display:block;padding:12px 0;border:0;font-size:11px;line-height:1.7}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .trama-actions-note>span{display:block}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .trama-action-status{padding-inline:0}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .instrument{position:static;display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:auto;padding-top:16px;border-top:1px solid #17171726}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .instrument>div{display:flex;flex-wrap:wrap;gap:0;min-height:40px;padding:0;border:1px solid #17171726;order:initial;width:100%;margin:0}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .instrument button{flex:1;padding:10px 8px;min-height:40px;font-size:11px}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .center-tools{flex-direction:column}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .center-tools>button+button{border-left:0;border-top:1px solid #17171726}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .zoom-tools{position:static;display:flex;flex-direction:row;border:1px solid #17171726;background:#fff}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .zoom-tools button{flex:1;width:auto;height:40px}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .zoom-tools button+button{border-top:0;border-left:1px solid #17171726}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .exploration{position:static;display:flex;flex-direction:column;gap:5px;background:transparent;padding:0;font-size:10px}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .instructions{position:static;background:transparent;padding:0;max-width:none;font-size:10px;line-height:1.5}
body:not(.trama-mobile).bt-trama-workspace .bt-language-floating{right:20px;bottom:8px;z-index:5;background:white}
body:not(.trama-mobile).bt-trama-workspace .trama-gesture-guide{left:16px;top:12px}
body:not(.trama-mobile).bt-trama-workspace #piece.immersed{grid-template-columns:1fr}
body:not(.trama-mobile).bt-trama-workspace #piece.immersed .trama-sidebar{display:none}
.bt-trama-workspace.embedded #trama-desktop-stage{height:100%;width:100%}
.bt-trama-workspace.embedded .trama-sidebar{display:none}
.trama-mobile #trama-desktop-stage{display:none}
.trama-mobile .trama-sidebar{display:contents}
@media(min-height:850px){body:not(.trama-mobile).bt-trama-workspace .trama-sidebar{gap:24px}}
@media(max-height:800px){body:not(.trama-mobile).bt-trama-workspace .trama-sidebar{gap:12px;padding-top:16px}body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .edition-actions>.trama-action{min-height:72px;padding-block:12px}body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .trama-action-title{font-size:22px}}
@media(max-height:700px){body:not(.trama-mobile).bt-trama-workspace .trama-sidebar{gap:8px}body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .edition-actions>.trama-action{min-height:66px}body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .instructions,body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .exploration{display:none}}
@media(min-height:651px) and (orientation:portrait){body.trama-mobile.bt-trama-workspace #piece,body.trama-mobile.bt-trama-workspace #piece:not(.entered){grid-template-rows:52px minmax(140px,1fr) auto}body.trama-mobile.bt-trama-workspace .tm-panel{padding-bottom:calc(8px + env(safe-area-inset-bottom))}}

/* Save, view and buy are independent choices, not numbered steps. */
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .edition-actions>.trama-action{grid-template-columns:1fr;padding-left:14px}
.bt-trama-workspace .trama-action small{grid-column:1}

/* Lay out the complete guide at a stable size, then fit it to the printed crop.
   Viewport-sized lettering inside a percentage-width frame overflowed on phones. */
body.bt-trama-workspace #piece .trama-gesture-guide.trama-gesture-poster{
 position:absolute;left:50%;top:50%;right:auto;bottom:auto;
 width:400px;max-width:none;display:flex;flex-direction:column;gap:2px;
 transform:translate(-50%,-50%) scale(var(--gesture-scale,1));transform-origin:center;
 background:transparent;border:0;border-radius:0;box-shadow:none;
 overflow:hidden;contain:paint;white-space:normal;
}
.bt-trama-workspace .trama-gesture-poster .trama-gesture-hint{
 position:relative;display:grid;grid-template-columns:minmax(0,1fr) 80px;
 grid-template-rows:auto auto;align-items:center;width:100%;height:auto;
 min-height:130px;padding:20px;gap:12px 8px;border:0;margin:0;
 color:#171717;background:var(--gesture-paper);box-shadow:none;
 transform:none;animation:none;overflow:hidden;
}
.bt-trama-workspace .trama-gesture-poster .gesture-drag{--gesture-paper:#f4ff31}
.bt-trama-workspace .trama-gesture-poster .gesture-pinch{--gesture-paper:#ffa9d2}
.bt-trama-workspace .trama-gesture-poster .gesture-scroll{--gesture-paper:#b9c8ff}
.bt-trama-workspace .trama-gesture-poster .trama-gesture-label{
 grid-column:1/-1;grid-row:1;min-width:0;max-width:100%;margin:0;
 font:500 48px/1.1 BTGarden,Arial,sans-serif;letter-spacing:-.05em;
 text-transform:uppercase;white-space:normal;overflow-wrap:anywhere;
}
.bt-trama-workspace .trama-gesture-poster .trama-gesture-icon{
 grid-column:2;grid-row:2;width:80px;height:48px;justify-self:end;transform:none;
}
.bt-trama-workspace .trama-gesture-poster .trama-gesture-detail{
 grid-column:1;grid-row:2;min-width:0;font-size:14px;line-height:1.3;
 letter-spacing:0;white-space:normal;
}
.bt-trama-workspace .trama-gesture-poster .trama-gesture-hint::before{display:none}
.bt-trama-workspace .trama-gesture-poster svg *{animation:none}
body.trama-mobile.bt-trama-workspace #piece .trama-gesture-guide.trama-gesture-poster{width:280px}
.trama-mobile.bt-trama-workspace .trama-gesture-poster .trama-gesture-hint{min-height:112px;padding:16px;grid-template-columns:minmax(0,1fr) 58px;gap:10px}
.trama-mobile.bt-trama-workspace .trama-gesture-poster .trama-gesture-label{font-size:36px}
.trama-mobile.bt-trama-workspace .trama-gesture-poster .trama-gesture-icon{width:58px;height:38px}
.trama-mobile.bt-trama-workspace .trama-gesture-poster .trama-gesture-detail{font-size:12px}

/* Short crops use a compact legend rather than shrinking the explanatory copy. */
body.bt-trama-workspace #piece .trama-gesture-guide.trama-gesture-poster[data-compact=true]{width:156px}
.bt-trama-workspace .trama-gesture-poster[data-compact=true] .trama-gesture-hint{min-height:50px;padding:12px 10px;grid-template-columns:minmax(0,1fr) 22px;grid-template-rows:auto;gap:6px}
.bt-trama-workspace .trama-gesture-poster[data-compact=true] .trama-gesture-label{grid-column:1;grid-row:1;font-size:21px}
.bt-trama-workspace .trama-gesture-poster[data-compact=true] .trama-gesture-icon{grid-column:2;grid-row:1;width:22px;height:24px}
.bt-trama-workspace .trama-gesture-poster[data-compact=true] .trama-gesture-detail{display:none}

/* Saved works become an edge-to-edge editorial gallery. */
body.bt-trama-workspace #editions{
 position:fixed;inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh!important;
 margin:0;padding:0 32px!important;border:0;border-radius:0;background:#fff;color:#171717;
 overflow-y:auto;overscroll-behavior:contain;font-family:BTGarden,Arial,sans-serif;
}
body.bt-trama-workspace #editions::backdrop{background:#17171770}
body.bt-trama-workspace #editions .edition-library-bar{
 position:sticky;top:0;left:auto;right:auto;z-index:5;margin:0 -32px;padding:0 32px;min-height:70px;
 display:grid;grid-template-columns:1fr auto 44px;gap:32px;align-items:center;
 border:0;border-bottom:1px solid #171717;background:#fff;font-size:12px;
}
body.bt-trama-workspace #editions .edition-library-bar>span{display:flex;gap:18px;align-items:center}
body.bt-trama-workspace #editions #library-count{font-size:11px;font-weight:400;font-variant-numeric:tabular-nums;color:#666}
body.bt-trama-workspace #editions .library-basket{display:flex;gap:16px;align-items:center;text-decoration:none}
body.bt-trama-workspace #editions .close{position:static;width:44px;height:44px;min-height:44px;padding:0!important;border:0;border-radius:0;background:transparent;font-size:0;color:inherit;display:grid;place-items:center}
body.bt-trama-workspace #editions .close::before{content:'×';position:static;display:block;font:300 34px/1 Arial,sans-serif;transform:none}
body.bt-trama-workspace #editions .close::after{display:none}
body.bt-trama-workspace #editions .library-intro{padding:44px 0 0}
body.bt-trama-workspace #editions .eyebrow{font-size:10px;letter-spacing:.08em;text-transform:uppercase;margin:0 0 18px}
body.bt-trama-workspace #editions h2{font-size:clamp(56px,7vw,112px);font-weight:450;line-height:.98;letter-spacing:-.075em;margin:0 0 32px}
body.bt-trama-workspace #editions .library-navigation{display:flex;justify-content:space-between;align-items:baseline;gap:32px;padding-bottom:18px;border-bottom:1px solid #171717}
body.bt-trama-workspace #editions .library-navigation p{max-width:52ch;font-size:12px;line-height:1.5;margin:0;color:#666}
body.bt-trama-workspace #editions #edition-message{font-size:12px;line-height:1.5;margin:18px 0 0;min-height:0}
body.bt-trama-workspace #editions #edition-message:empty{display:none}
body.bt-trama-workspace #editions #edition-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px 24px;margin:28px 0 48px}
body.bt-trama-workspace #editions .edition-card{position:relative;max-width:none;min-width:0;border:0;padding:0;display:flex;flex-direction:column;align-items:stretch}
body.bt-trama-workspace #editions .edition-sheet{order:0;position:relative;padding:14px;background:#f0f0ee;width:100%;border:0;display:block;overflow:hidden}
body.bt-trama-workspace #editions .edition-sheet canvas{display:block;width:100%;height:auto;box-shadow:none;transition:transform .35s ease}
body.bt-trama-workspace #editions .edition-sheet:hover canvas{transform:scale(1.025)}
body.bt-trama-workspace #editions .edition-enlarge-hint{position:absolute;inset:auto 12px 12px auto;border:0;border-radius:0;background:#fff;color:#171717;padding:8px 10px;font-size:10px;opacity:0;transition:opacity .2s}
body.bt-trama-workspace #editions .edition-sheet:hover .edition-enlarge-hint,body.bt-trama-workspace #editions .edition-sheet:focus-visible .edition-enlarge-hint{opacity:1}
body.bt-trama-workspace #editions .edition-latest{position:absolute;top:14px;left:14px;z-index:1;margin:0;border:0;border-radius:0;padding:6px 8px;background:#dff1a6;color:#171717;font-size:9px;font-weight:500;text-transform:uppercase;letter-spacing:.05em}
body.bt-trama-workspace #editions .edition-saved-date{order:1;font-size:10px;color:#666;margin:15px 0 0;padding:0}
body.bt-trama-workspace #editions .edition-reference{order:2;margin:8px 0 0;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
body.bt-trama-workspace #editions .edition-unique{order:3;font-size:11px;margin:8px 0 0}
body.bt-trama-workspace #editions .edition-availability{order:4;font-size:10px;color:#666;min-height:0;margin:4px 0 0}
body.bt-trama-workspace #editions .edition-card-actions{order:5;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin:16px 0 0;padding-top:14px;border-top:1px solid #17171726}
body.bt-trama-workspace #editions .edition-card-actions button{font-family:inherit;background:transparent;color:#171717;min-height:36px;padding:0;border:0;border-radius:0;font-size:11px;text-align:left}
body.bt-trama-workspace #editions .edition-card-actions .edition-primary{flex-basis:100%;font-size:15px;line-height:1.3;font-weight:500;min-height:40px}
body.bt-trama-workspace #editions .saved-remove-action{color:#666}
body.bt-trama-workspace #editions .edition-card-actions button:hover{text-decoration:underline;text-underline-offset:4px}
body.bt-trama-workspace #editions .library-edition-info{border-top:1px solid #17171726;padding:0;margin:0}
body.bt-trama-workspace #editions .library-edition-info summary{display:flex;justify-content:space-between;align-items:center;list-style:none;cursor:pointer;font-size:12px;min-height:64px}
body.bt-trama-workspace #editions .library-edition-info summary::-webkit-details-marker{display:none}
body.bt-trama-workspace #editions .edition-statement{margin:0;background:transparent;padding:0 0 16px;max-width:60ch}
body.bt-trama-workspace #editions .edition-statement h3{font-size:20px;line-height:1.2;font-weight:500;margin:0 0 12px}
body.bt-trama-workspace #editions .edition-statement p{font-size:12px;line-height:1.5}
body.bt-trama-workspace #editions .edition-pending{background:transparent;padding:0 0 24px;margin:0;max-width:80ch;font-size:11px!important;line-height:1.6;color:#666}
body.bt-trama-workspace #editions .edition-dialog-footer{position:static;margin:0;padding:20px 0 32px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #171717;background:#fff;font-size:12px}
body.bt-trama-workspace #editions #keep-exploring{padding:16px 22px;background:#171717;color:#fff;font-family:inherit;font-size:12px;border:0;min-height:48px}
@media(max-width:1000px){body.bt-trama-workspace #editions #edition-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 body.bt-trama-workspace #editions{padding:0 16px!important}
 body.bt-trama-workspace #editions .edition-library-bar{margin:0 -16px;padding:0 16px;min-height:60px;gap:14px;font-size:10px;grid-template-columns:1fr auto 36px}
 body.bt-trama-workspace #editions .edition-library-bar>span{gap:10px}
 body.bt-trama-workspace #editions .library-basket{gap:8px}
 body.bt-trama-workspace #editions .library-intro{padding-top:32px}
 body.bt-trama-workspace #editions h2{font-size:58px;margin-bottom:24px}
 body.bt-trama-workspace #editions .library-navigation{gap:20px}
 body.bt-trama-workspace #editions .library-navigation p{font-size:10px;max-width:28ch}
 body.bt-trama-workspace #editions #edition-list{grid-template-columns:1fr;gap:36px;margin:20px 0 32px}
 body.bt-trama-workspace #editions .edition-sheet{padding:12px}
 body.bt-trama-workspace #editions .edition-card-actions button{min-height:44px}
 body.bt-trama-workspace #editions .edition-dialog-footer{padding-bottom:calc(24px + env(safe-area-inset-bottom))}
}

body.bt-trama-workspace #editions .close{border:0!important;border-radius:0!important;background-color:transparent!important;background-size:24px 24px!important}
body.bt-trama-workspace #editions .close:hover{background-color:#eee!important;border:0!important}

body.bt-trama-workspace #editions .library-undo{display:inline-block;border:0;background:transparent;padding:10px 0;min-height:44px;font:500 12px BTGarden,Arial,sans-serif;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
body.bt-trama-workspace #editions .library-undo[hidden]{display:none}

/* Composition comes first; the collection story opens only when requested. */
.trama-compose-intro{display:none}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar{gap:12px}
body:not(.trama-mobile).bt-trama-workspace .trama-compose-intro{display:block}
.bt-trama-workspace .trama-compose-kicker{margin:0 0 7px;font-size:10px;color:#1424ce}
.bt-trama-workspace .trama-compose-intro h1{margin:0;font-size:32px;font-weight:500;line-height:1.02;letter-spacing:-.055em;color:#1424ce}
.bt-trama-workspace .trama-compose-intro>p:last-child{margin:10px 0 0;max-width:32ch;font-size:12px;line-height:1.45}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .instrument{margin-top:0;padding-top:0;border-top:0;gap:7px;flex-shrink:0}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .instrument .center-tools{order:-1;align-items:stretch}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar #evolve{background:#1424ce;color:#fff;font-weight:500}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .zoom-tools{flex-shrink:0}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .exploration{display:none}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .instructions{margin:0;font-size:10px;line-height:1.4}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .edition-actions>.trama-action{min-height:62px;padding:10px 12px;gap:4px}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .trama-action-title{font-size:21px}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .trama-actions-note{padding:8px 0;font-size:10px;line-height:1.5}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .collection{padding-top:10px}
body:not(.trama-mobile).bt-trama-workspace .trama-sidebar .masthead{gap:10px}
.bt-trama-workspace .tm-compose-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0 8px}
.bt-trama-workspace .tm-compose-heading strong{font-size:18px;font-weight:500;letter-spacing:-.04em;color:#1424ce}
.bt-trama-workspace .tm-compose-heading button{font-size:11px;min-height:36px;padding:0}
body.bt-trama-workspace #about{width:min(940px,calc(100% - 48px));max-width:none;max-height:calc(100dvh - 48px);padding:32px 40px;border:0;overflow-y:auto;overscroll-behavior:contain;background:#fff;color:#171717}
body.bt-trama-workspace #about::backdrop{background:#17171760}
body.bt-trama-workspace #about #about-close{position:sticky;float:right;top:0;z-index:2;margin:-8px -16px 0 0;background-color:#fff}
body.bt-trama-workspace #about>.eyebrow{margin:8px 140px 32px 0;font-size:10px}
body.bt-trama-workspace #about h2{font:500 clamp(42px,6vw,76px)/.98 BTGarden,Arial,sans-serif;letter-spacing:-.065em;margin:0 0 36px;color:#1424ce;max-width:11ch}
body.bt-trama-workspace #about .about-copy{display:grid;grid-template-columns:1fr 1fr;gap:28px 40px;max-width:none}
body.bt-trama-workspace #about .about-copy h3{font:500 26px/1.1 BTGarden,Arial,sans-serif;letter-spacing:-.04em;margin:0 0 16px}
body.bt-trama-workspace #about .about-copy p{font:400 14px/1.65 BTGarden,Arial,sans-serif;max-width:none;margin:0 0 14px}
body.bt-trama-workspace #about .trama-editorial-guide{grid-column:1/-1;border-top:1px solid #17171726;padding-top:24px}
body.bt-trama-workspace #about .trama-editorial-guide>.eyebrow{font-size:10px;margin-bottom:12px}
body.bt-trama-workspace #about .how-to{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0 0;padding:0;list-style:none;counter-reset:trama-guide}
body.bt-trama-workspace #about .how-to li{display:flex;flex-direction:column;gap:10px;border:0;padding:0;counter-increment:trama-guide}
body.bt-trama-workspace #about .how-to li::before{content:'0' counter(trama-guide);font-size:12px;color:#1424ce;position:static}
body.bt-trama-workspace #about .how-to strong{font-size:18px;font-weight:500;line-height:1.2}
body.bt-trama-workspace #about .how-to span,body.bt-trama-workspace #about .how-to small{font-size:12px;line-height:1.6}
body.bt-trama-workspace #about .trama-edition-story{grid-column:1/-1;padding:24px 0 0;border-top:1px solid #17171726;margin:0;background:transparent}
body.bt-trama-workspace #about .trama-edition-facts,body.bt-trama-workspace #about .edition-pending,body.bt-trama-workspace #about #about-return{grid-column:1/-1;margin:0}
body.bt-trama-workspace #about .bt-print-overview{grid-column:1/-1;min-width:0}
body.bt-trama-workspace #about #about-return{order:1}
body.bt-trama-workspace #about .edition-pending{font-size:11px;color:#666}
body.bt-trama-workspace #about #about-return{justify-self:start;background:#1424ce;color:#fff;border:0;padding:16px 24px;min-height:48px;font:500 13px BTGarden,Arial,sans-serif}
@media(max-width:760px){
 body.bt-trama-workspace #about{width:100%;max-height:100dvh;height:100dvh;padding:24px;margin:0}
 body.bt-trama-workspace #about .about-copy{grid-template-columns:1fr;gap:24px}
 body.bt-trama-workspace #about h2{font-size:52px}
 body.bt-trama-workspace #about .how-to{grid-template-columns:1fr;gap:24px}
}
@media(max-height:650px) and (orientation:landscape){.bt-trama-workspace .tm-compose-heading{padding:0}.bt-trama-workspace .tm-compose-heading strong{font-size:15px}}

/* A small, explicit explanation of the edition beside its label. */
body.bt-trama-workspace .trama-sidebar .collection{display:flex!important;align-items:center;justify-content:space-between;gap:8px}
body.bt-trama-workspace .trama-info-button{display:inline-grid;place-items:center;flex-shrink:0;width:32px;height:32px;min-height:32px;padding:0;border:0;background:transparent;color:inherit;cursor:pointer;text-decoration:none}
body.bt-trama-workspace .trama-info-button>.trama-info-icon{display:grid;place-items:center;width:17px;height:17px;border:1px solid currentColor;border-radius:50%;font:500 11px/1 BTGarden,Arial,sans-serif;text-transform:none;letter-spacing:0}
body.bt-trama-workspace .trama-info-button:hover{color:#1424ce}
.bt-trama-workspace .tm-collection-title{display:flex;align-items:center;gap:2px}
body.bt-trama-workspace #unique-edition{width:min(520px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:24px 28px 28px;border:0;border-radius:0;background:#fff;color:#171717;font-family:BTGarden,Arial,sans-serif;overflow-y:auto;overscroll-behavior:contain}
body.bt-trama-workspace #unique-edition::backdrop{background:#17171770}
.bt-trama-workspace .trama-info-header{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #17171726;padding-bottom:12px}
body.bt-trama-workspace #unique-edition .trama-info-header p{font-size:10px;margin:0}
.bt-trama-workspace .trama-info-header button{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;padding:0;font:300 28px/1 Arial,sans-serif}
body.bt-trama-workspace #unique-edition h2{margin:24px 0;font-size:40px;line-height:1;letter-spacing:-.055em;font-weight:500;color:#1424ce}
body.bt-trama-workspace #unique-edition p{font-size:13px;line-height:1.6;margin:0 0 16px}
.bt-trama-workspace .trama-info-note{padding:16px 0 0;margin-top:20px;border-top:1px solid #17171726}
.bt-trama-workspace .trama-info-note strong{display:block;font-size:13px;font-weight:500;margin-bottom:8px}
body.bt-trama-workspace #unique-edition .trama-info-note p{font-size:12px;color:#555}
.bt-trama-workspace .trama-info-return{background:#1424ce;color:#fff;border:0;min-height:44px;padding:12px 18px;font-size:12px;margin-top:4px}
@media(max-width:760px){body.bt-trama-workspace #unique-edition{padding:20px}body.bt-trama-workspace #unique-edition h2{font-size:35px}}

body.bt-trama-workspace .trama-sidebar .collection{display:grid!important;grid-template-columns:1fr;gap:0}
body.bt-trama-workspace .trama-sidebar .collection .trama-info-button{display:flex;align-items:center;justify-content:flex-start;gap:7px;width:auto;text-align:left}
body.bt-trama-workspace .trama-info-question{font:400 11px/1.35 BTGarden,Arial,sans-serif;text-transform:none;letter-spacing:0}
body.bt-trama-workspace .trama-info-button:hover .trama-info-question{text-decoration:underline;text-underline-offset:3px}

/* Responsive review: readable actions, safe areas and an accessible page footer. */
html:has(body.bt-trama-workspace:not(.embedded)){height:auto;overflow-x:hidden;overflow-y:auto}
body.bt-trama-workspace:not(.embedded){height:auto;min-height:100dvh;overflow:visible}
.trama-mobile.bt-trama-workspace .trama-action-title{white-space:normal;overflow-wrap:anywhere}
.trama-mobile.bt-trama-workspace .trama-action #saved-count{display:inline-block;white-space:nowrap}
.trama-mobile.bt-trama-workspace .tm-steps button,
.trama-mobile.bt-trama-workspace .tm-controls button,
.trama-mobile.bt-trama-workspace .tm-compose-heading button{min-height:44px}
.trama-mobile.bt-trama-workspace .tm-controls>*{min-width:0;max-width:100%}
.trama-mobile.bt-trama-workspace .tm-controls #color{overflow-wrap:anywhere}
.trama-mobile.bt-trama-workspace .trama-actions-note{white-space:normal}
.trama-mobile.bt-trama-workspace #export-piece{min-height:44px}
.trama-mobile.bt-trama-workspace .tm-header{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}
.trama-mobile.bt-trama-workspace #about{height:100dvh;max-height:100dvh!important;padding:20px!important;margin:0;border-radius:0}
.trama-mobile.bt-trama-workspace #about #about-close{top:0;margin:0;background:#fff}
@media(max-height:600px) and (orientation:landscape){
 .trama-mobile.bt-trama-workspace .tm-panel{padding-right:max(12px,env(safe-area-inset-right));overscroll-behavior:contain}
 .trama-mobile.bt-trama-workspace .tm-controls{display:grid;grid-template-columns:1fr 1fr}
 .trama-mobile.bt-trama-workspace .tm-controls[hidden]{display:none}
 .trama-mobile.bt-trama-workspace .tm-controls #color{grid-column:1/-1}
 .trama-mobile.bt-trama-workspace .tm-controls #zoom-in,.trama-mobile.bt-trama-workspace .tm-controls #zoom-out{width:100%}
 .trama-mobile.bt-trama-workspace .tm-controls>button:last-child:nth-child(4){grid-column:1/-1}
}
@media(max-width:360px){
 /* Step tabs already provide these destinations; avoid a second control row. */
 .trama-mobile.bt-trama-workspace #tm-next,
 .trama-mobile.bt-trama-workspace #tm-adjust>button:last-child:not(#plane){display:none}
 .trama-mobile.bt-trama-workspace .tm-compose-heading strong{font-size:16px}
 .trama-mobile.bt-trama-workspace .edition-actions>.trama-action{min-height:48px}
 .trama-mobile.bt-trama-workspace .trama-action small{display:none}
}
