/* Dedicated exchange / workshop layout. Pages fit a landscape phone; detail
   is a two-column sheet, not a long item list or a dashboard. */
.market-main,.forge-main{overflow:hidden!important}.m-room{height:100%;min-height:0;display:grid;grid-template-rows:42px 38px 25px minmax(0,1fr) 32px;gap:6px;padding:10px 16px;color:#29483e;background:linear-gradient(125deg,#8e9d80,#a2ae8f)}
.m-room h1{font-size:21px;margin:0;color:#fff0c7}.m-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.m-heading small{color:#e8edcf;font-size:11px}.m-room button,.commerce-modal button{min-height:38px;font-size:12px}.m-toolbar{display:flex;justify-content:space-between;gap:10px;min-width:0}.m-tabs{display:flex;gap:5px}.m-tabs button{background:#d9dcc1;color:#345147;padding:7px 12px;border:1px solid #748869}.m-tabs button.selected{background:#f6e6b9;border:2px solid #ab8346}.m-toolbar select{height:38px;background:#f3ebce;border-color:#8a997c;width:130px;color:#29483e;padding:5px}.m-summary{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#f9f0d8;font-size:11px}.m-summary>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.m-summary>span:last-child{white-space:nowrap}.m-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;min-height:0;gap:8px}.m-card{display:flex;flex-direction:column;justify-content:space-between;gap:3px;min-height:0!important;min-width:0;width:100%;height:100%;border:2px solid #71866b!important;background:#f2ebcf!important;color:#29483e!important;border-radius:8px;box-shadow:0 3px 0 #506e5c70;padding:8px 12px;text-align:left;overflow:hidden;cursor:pointer}.m-card.q1{border-color:#708b98!important}.m-card.q2{border-color:#b8904b!important;background:#f6e7bc!important}.m-card h3{font-size:15px;margin:0;line-height:1.25}.m-card-top{display:flex;align-items:center;gap:9px;min-width:0}.m-card-top>div{min-width:0;flex:1}.m-card-top>.item-art{width:40px;height:40px;flex:none}.m-card small{font-size:10px;color:#667861;line-height:1.4}.m-card p{margin:0;font-size:12px;line-height:1.5}.m-price{font-size:20px;color:#89662f;margin-left:auto;white-space:nowrap}.m-affix{color:#496b57;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700}.m-card-bottom{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#64765e}.m-card-bottom>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.m-pager{display:flex;align-items:center;justify-content:center;gap:24px;color:#f5ebc7}.m-pager button{min-height:30px;min-width:60px;padding:0 12px;background:#dfe2c6;border:1px solid #7b9173;color:#344d42}.m-pager small{font-size:11px}.m-empty{grid-column:1/-1;display:grid;place-content:center;text-align:center;padding:16px;color:#405e4f;background:#ebe7cc;border:2px dashed #88977a;border-radius:8px;font-size:13px;line-height:1.8;min-height:0}.commerce-modal{width:min(900px,96vw)!important;max-width:none!important;height:min(550px,94dvh)!important;max-height:94dvh!important;display:flex;flex-direction:column;color:#2d4a3d;background:#f3eace!important}.commerce-modal>header{padding:10px 14px!important;min-height:44px}.commerce-modal>header .eyebrow{display:none}.commerce-modal>header h2{font-size:19px}.commerce-modal .modal-body{flex:1;min-height:0;overflow:hidden!important;padding:12px!important;display:flex;flex-direction:column;gap:10px}.commerce-modal h2,.commerce-modal h3{margin:0;color:#2d4a3d}.commerce-modal p{margin:0;font-size:12px;line-height:1.6}.commerce-modal small{font-size:11px;line-height:1.5;color:#6b775e}.commerce-modal input,.commerce-modal select{height:36px;min-height:36px;font-size:13px;padding:5px 8px;color:#29483e;background:#fff7df;border:1px solid #a6ad8c}.commerce-modal label{display:flex;flex-direction:column;gap:3px;font-size:11px;min-width:0}.m-inspect{display:grid;grid-template-columns:.85fr 1.15fr;gap:14px;min-height:0;flex:1}.m-object{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;background:#e5e3c9;border:1px solid #acb396;border-radius:8px;padding:10px;min-height:0}.m-object-art{flex:1;min-height:40px;max-height:120px;display:flex;justify-content:center}.m-object-art .item-art{height:100%;width:100%;max-width:120px;filter:drop-shadow(0 4px 2px #42533f33)}.m-object h2{font-size:19px}.m-object strong{font-size:13px;color:#416e58}.m-comparison{display:flex;flex-direction:column;gap:7px;min-height:0}.m-current{display:flex;align-items:center;gap:10px;padding:6px 8px;background:#e1e0c5;border-radius:6px;min-height:0}.m-current .portrait{width:40px;height:48px;flex:none}.m-current>div{display:flex;flex-direction:column;gap:2px}.m-current b{font-size:13px}.m-current small{font-size:10px}.m-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;flex:1;min-height:0}.m-stat-grid>div{padding:5px 7px;border:1px solid #b1b699;border-radius:4px;display:flex;flex-direction:column;justify-content:center;gap:2px}.m-stat-grid span{font-size:13px;white-space:nowrap}.m-up{color:#3b7c55}.m-down{color:#ac604f}.m-modal-actions{display:flex;gap:8px;flex:none;margin-top:auto}.m-modal-actions>button{flex:1;min-height:40px}.m-form{display:flex;flex-direction:column;gap:10px;flex:1;min-height:0}.m-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;align-content:start}.m-form-grid label{min-width:0}.m-form>.primary{margin-top:auto;min-height:42px}.m-note{background:#e3e2c7;border-left:3px solid #8d9e78;padding:7px 10px;font-size:11px!important}.m-list-object{display:flex;gap:15px;align-items:center}.m-list-object>.item-art{width:70px;height:80px;flex:none}.m-list-object p{margin:5px 0}.m-demand-detail{display:grid;grid-template-columns:1fr 1fr;gap:15px;min-height:0;flex:1}.m-demand-detail>section{display:flex;flex-direction:column;gap:9px;min-height:0}.m-fit-list{display:flex;flex-direction:column;gap:7px;min-height:0;flex:1}.m-fit{display:flex;align-items:center;gap:7px;text-align:left;flex:1;min-height:0!important}.m-fit>.item-art{width:35px;height:40px;flex:none}.m-fit>span{flex:1;display:flex;flex-direction:column;font-size:12px}.m-fit>b{font-size:11px}.m-gear-choice{display:flex;flex-direction:column;gap:10px;min-height:0;flex:1}.m-gear-choice>.m-current{flex:none}.m-receipt{display:flex;flex-direction:column;gap:14px}.m-receipt>strong{color:#927035}.m-forge{grid-template-rows:42px minmax(0,1fr)}.m-forge-layout{display:grid;grid-template-columns:.85fr 1.15fr;min-height:0;gap:12px}.m-recipe-book{display:flex;flex-direction:column;min-height:0;gap:8px}.m-recipe-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:8px;flex:1;min-height:0}.m-recipe-grid button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:0;border:2px solid #71856d;background:#e9e5c9;border-radius:8px;padding:6px;color:#29483e}.m-recipe-grid button.selected{border-color:#bb914b;background:#fae8b9}.m-recipe-grid .item-art{width:48px;height:48px;min-height:20px;flex-shrink:1}.m-recipe-grid b{font-size:12px}.m-recipe-grid small{font-size:10px;color:#6b785e}.m-craft-desk{display:flex;flex-direction:column;gap:7px;min-height:0;padding:11px;background:#f1e9cc;border:3px solid #748769;border-radius:9px}.m-craft-title{display:flex;align-items:center;gap:9px}.m-craft-title .item-art{width:40px;height:40px;flex:none}.m-craft-title h2{margin:0;font-size:19px}.m-craft-title small{font-size:10px;line-height:1.45;display:block}.m-focus-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px}.m-focus-label select{height:34px;max-width:70%;background:#fbf1d4;color:#29483e;font-size:12px;padding:4px;border:1px solid #afb292}.m-materials{display:flex;gap:6px}.m-materials button{display:flex;flex:1;align-items:center;gap:4px;padding:4px;min-height:34px;font-size:10px;color:#49634e;background:#e0e2c4;border:1px solid #a7af8e}.m-materials .item-art{width:24px;height:28px;flex:none}.m-materials button.short{color:#a05949;border-color:#b58a74;background:#ede0c2}.m-craft-copy{display:flex;justify-content:space-between;gap:8px;font-size:12px}.m-craft-copy>span{white-space:nowrap}.m-craft-copy small{font-size:10px;line-height:1.5}.m-craft-actions{display:flex;gap:6px;margin-top:auto}.m-craft-actions button{flex:1;padding:5px;font-size:11px}.m-work-state{display:flex;gap:8px;align-items:center;font-size:10px;color:#63785b;min-height:20px}.m-work-state button{min-height:28px;font-size:10px;padding:2px 8px;white-space:nowrap}
@media(max-height:450px){.m-room{grid-template-rows:32px 34px 19px minmax(0,1fr) 27px;gap:4px;padding:7px 12px}.m-heading h1{font-size:18px}.m-heading small{font-size:9px}.m-heading button,.m-tabs button{min-height:32px;font-size:11px;padding:5px 9px}.m-toolbar select{height:32px;font-size:11px}.m-summary{font-size:10px}.m-pager button{min-height:26px}.m-grid{gap:6px}.m-card{padding:5px 8px;gap:1px}.m-card-top{gap:6px}.m-card-top>.item-art{width:30px;height:32px}.m-card h3{font-size:13px}.m-card small{font-size:9px}.m-price{font-size:17px}.m-card p{font-size:11px}.m-card-bottom{font-size:9px}.commerce-modal .modal-body{gap:7px;padding:8px!important}.commerce-modal>header{padding:7px 10px!important;min-height:38px}.commerce-modal>header h2{font-size:16px}.m-object{padding:6px;gap:3px}.m-object h2{font-size:16px}.m-object-art{max-height:60px;min-height:30px}.m-object p{font-size:11px;line-height:1.4}.m-object strong{font-size:11px}.m-object small{font-size:10px}.m-comparison{gap:5px}.m-current{padding:4px 6px;gap:6px}.m-current .portrait{height:34px;width:29px}.m-stat-grid>div{padding:3px 6px}.m-stat-grid span{font-size:12px}.m-stat-grid small{font-size:9px}.m-modal-actions>button{min-height:36px;font-size:11px}.m-form{gap:7px}.m-form-grid{gap:5px 8px}.commerce-modal input,.commerce-modal select{height:30px;min-height:30px;font-size:12px}.m-note{padding:5px 8px;font-size:10px!important;line-height:1.45!important}.m-form-grid label{font-size:10px}.m-forge{grid-template-rows:32px minmax(0,1fr)}.m-craft-desk{gap:5px;padding:8px}.m-craft-title h2{font-size:16px}.m-focus-label select{height:29px}.m-craft-actions button{min-height:34px}.m-materials button{min-height:29px}.m-craft-title .item-art{width:31px;height:33px}.m-craft-title small{font-size:9px}.m-craft-copy small{font-size:9px}.m-recipe-grid .item-art{height:35px;width:35px}.m-work-state{font-size:9px}.m-demand-detail>section{gap:7px}}
@media(max-width:620px) and (orientation:portrait){.m-room{padding:8px;grid-template-rows:56px 74px 35px minmax(0,1fr) 34px}.m-toolbar{flex-wrap:wrap}.m-tabs{width:100%;gap:3px}.m-tabs button{flex:1;padding:5px;font-size:10px}.m-summary{flex-direction:column;align-items:flex-start;gap:2px}.m-heading{gap:5px}.m-heading>.row{gap:3px}.m-heading h1{font-size:17px}.m-heading button{padding:6px;font-size:10px}.m-card-top{flex-wrap:wrap}.m-card-top .m-price{width:100%;font-size:16px}.m-card-bottom{flex-direction:column;gap:2px}.m-inspect{grid-template-columns:1fr;grid-template-rows:.8fr 1.2fr}.m-object-art{display:none}.m-form-grid{grid-template-columns:1fr 1fr}.m-demand-detail{grid-template-columns:1fr;grid-template-rows:1fr 1fr}.m-forge{grid-template-rows:45px minmax(0,1fr)}.m-forge-layout{grid-template-columns:1fr;grid-template-rows:1fr 1.3fr}.m-forge .m-pager{height:30px}}
/* Formation shares battle's right-facing geometry. */
.m-material-deal{display:grid;grid-template-columns:1fr 1.1fr;gap:22px;flex:1;min-height:0;align-content:center}
.m-material-info,.m-quantity-desk{display:flex;flex-direction:column;gap:12px;min-width:0}
.m-material-info .m-list-object{gap:12px}.m-material-info .m-list-object>div{min-width:0}.m-material-info .m-list-object p{overflow-wrap:anywhere}
.commerce-modal .m-material-trade .m-material-info .m-list-object>.item-art{width:56px;height:60px}
.m-quantity-stepper{display:grid;grid-template-columns:44px 44px minmax(50px,1fr) 44px 44px;gap:5px;align-items:center}
.commerce-modal .m-quantity-stepper button{min-width:44px;min-height:44px;padding:0;font-size:17px}
.m-quantity-stepper output{font-size:30px;font-weight:800;text-align:center;white-space:nowrap}.m-quantity-stepper output small{margin-left:4px;font-weight:400}
.m-trade-total{padding:10px 12px;background:#e0e6c9;border:1px solid #98ac87;border-radius:7px;display:flex;flex-direction:column;gap:4px}
.m-trade-total>span{display:flex;justify-content:space-between;align-items:center;font-size:12px;gap:8px}.m-trade-total strong{font-size:26px;color:#785d29;white-space:nowrap}
.commerce-modal .m-material-trade>.m-modal-actions>button{min-height:44px;font-size:15px}.m-trade-notice{min-height:15px;color:#965840!important}
@media(orientation:landscape) and (max-height:450px){.m-material-deal{gap:18px}.m-material-info,.m-quantity-desk{gap:7px}.m-material-info .m-list-object>.item-art{height:60px;width:56px}.m-material-info h2{font-size:19px}.m-material-info .m-list-object p{margin:3px 0}.m-trade-total{padding:6px 10px}.m-trade-total strong{font-size:22px}}
@media(orientation:landscape) and (max-height:350px){.m-material-deal{align-content:start}.m-material-info,.m-quantity-desk{gap:4px}.m-material-info .m-list-object>.item-art{height:48px;width:46px}.m-material-info>small{font-size:10px;line-height:1.3}.m-material-info>p{font-size:11px}.m-trade-total{gap:1px;padding:4px 8px}.m-trade-total strong{font-size:20px}.m-trade-notice:empty{display:none}}
@media(orientation:portrait){.m-material-deal{grid-template-columns:1fr;gap:12px;align-content:start}.m-material-info>small{display:none}}
.heroes-main{overflow:hidden!important}.g-room{height:100%;display:grid;grid-template-rows:38px minmax(0,1fr);gap:7px;padding:8px 14px;color:#29483e;background:#9caa8c}.g-layout{display:grid;grid-template-columns:1fr 1.08fr;gap:12px;min-height:0}.g-board{display:grid;grid-template-rows:32px 17px minmax(0,1fr) 30px 16px;gap:3px;min-height:0}.g-teams{display:flex;align-items:center;gap:5px}.g-teams button{min-height:30px;font-size:11px;padding:4px 10px}.g-teams small{margin-left:auto;font-size:10px}.g-direction{display:grid;grid-template-columns:1fr 1fr 40px;text-align:center;font-size:10px}.g-direction b{color:#9e543b}.g-cells{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(3,1fr);gap:4px;padding-right:25px;min-height:0}.g-cell.formation-cell{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;min-height:0;height:100%;padding:3px;background:#bec5a5;border:2px solid #7d9475;border-radius:6px;aspect-ratio:auto;color:#304d3d}.g-cell.selected{border-color:#bd8d39;background:#efe0ab}.g-cell .portrait{height:100%;max-height:48px;width:35px;flex:none}.g-cell span{display:flex;flex-direction:column;min-width:0;text-align:left}.g-cell b{font-size:12px}.g-cell small{font-size:9px}.g-traits{display:flex;gap:4px;align-items:center}.g-traits button{font-size:10px;min-height:27px;padding:4px 8px;color:#50624a;background:#d5dab9;border:1px solid #98a584}.g-traits button.active{background:#f2e5b3;color:#7b602b;border-color:#b59552}.g-board>small{font-size:9px}.g-detail{min-height:0;display:flex;flex-direction:column;gap:6px;padding:9px;background:#f2ebcf;border:3px solid #788a6f;border-radius:9px}.g-detail>header{display:flex;gap:8px;align-items:center;flex:none}.g-detail>header>.portrait{width:33px;height:38px}.g-detail>header>div{flex:1}.g-detail h2{font-size:18px;margin:0}.g-detail h2 small{font-size:11px}.g-detail header span{font-size:10px}.g-detail header button{min-height:30px;font-size:10px;padding:4px 8px}.g-equipment{display:grid;grid-template-rows:repeat(3,1fr);gap:5px;min-height:0;flex:1}.g-equipment button{display:flex;gap:8px;align-items:center;min-height:0;padding:4px 8px;background:#e2e1c3;color:#29483e;border:1px solid #a6ae8d;text-align:left;border-radius:5px}.g-equipment .item-art{width:34px;height:38px;flex:none}.g-equipment span{display:flex;flex-direction:column;flex:1;min-width:0}.g-equipment span>b{font-size:12px}.g-equipment small{font-size:9px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;line-height:1.4}.g-equipment button>b{font-size:10px;white-space:nowrap}.g-detail footer{display:flex;justify-content:space-between;align-items:center;gap:6px}.g-detail footer small{font-size:10px}.g-detail footer button{font-size:11px;min-height:32px;padding:5px 10px}.g-reserves{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;flex:1;min-height:0}.g-reserves button{display:flex;flex-direction:column;align-items:center;justify-content:center}.g-reserves .portrait{height:65px}.g-reserves small{font-size:11px}
@media(max-height:380px){.g-room{grid-template-rows:32px minmax(0,1fr);gap:4px;padding:5px 10px}.g-room h1{font-size:18px}.g-room .m-heading button{min-height:30px;font-size:11px;padding:4px 8px}.g-detail{padding:5px;gap:4px}.g-detail header>.portrait{height:30px}.g-detail h2{font-size:16px}.g-board{grid-template-rows:27px 14px minmax(0,1fr) 27px 13px}.g-cell .portrait{max-height:36px;width:27px}.g-equipment button{padding:2px 6px}.g-equipment .item-art{height:31px;width:29px}.g-detail footer button{min-height:28px}.g-equipment small{font-size:8px}}
/* Reset old global form spacing inside the new fixed-height rooms. */
.m-room label,.commerce-modal label{margin:0}.m-room input,.m-room select,.commerce-modal input,.commerce-modal select{margin:0;min-height:0}.m-card{align-items:stretch}.m-card-top,.m-card-bottom{width:100%}.m-object>*{flex-shrink:0}.m-object .m-object-art{flex-shrink:1}.m-comparison>label,.m-comparison>.m-current,.m-comparison>small{flex:none}.m-craft-desk>*{flex-shrink:0}.m-craft-desk>.m-craft-actions{margin-top:auto}.m-room p,.g-room p{margin:0}.g-equipment button span{line-height:1.2}.g-equipment button{overflow:hidden}.g-equipment small{line-height:1.15}.g-detail>header{margin:0}.g-room h1{margin:0;color:#fff0c7}.m-form-grid{flex:none}.m-form-grid label{gap:3px}.m-form .m-note{flex:none}.m-heading small{display:block}.m-object-art{max-height:70px}.m-object-art .item-art{max-width:80px}.m-comparison>small{font-size:9px}.m-stat-grid>div{min-height:0}.m-stat-grid small{line-height:1.2}.m-stat-grid span{line-height:1.2}.m-current{margin:0}
@media(orientation:landscape) and (max-height:450px){.commerce-modal>header .icon-button{min-height:30px;height:30px;width:30px;padding:3px}.m-craft-desk{gap:6px}.m-craft-actions button{min-height:32px}.m-work-state{min-height:14px}.m-inspect{gap:10px}.m-stat-grid>div{padding:3px 6px}.g-equipment span>b{line-height:1.25}.city-paper{width:250px;max-width:30%;padding:13px;bottom:auto!important}.city-paper h2{font-size:19px;margin:5px 0}.city-paper p{font-size:11px;line-height:1.6;margin:9px 0}.city-paper .primary{font-size:11px;min-height:34px;padding:7px}.city-paper .eyebrow{font-size:8px}.fleet{width:255px;max-width:32%;padding:7px}.squad-strip{gap:8px;padding:4px}.squad-strip b{font-size:11px}.squad-strip small{font-size:9px}.squad-strip .small{min-height:30px;font-size:11px;padding:5px 8px}.tiny-party .portrait{width:18px}.scene-title h1{font-size:22px}.scene-title p{font-size:11px}.news-ribbon{min-height:34px;padding:4px 8px;font-size:10px}.news-ribbon button{min-height:27px;font-size:10px;padding:3px 8px}.news-ribbon>.icon{width:18px}}
.m-card-top>div>small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.m-card-bottom{line-height:1.2}.m-card>p{line-height:1.3}.m-card>p:not(.m-affix){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.m-card-top>.item-art{max-height:30px}.m-card-top>h3{flex:1}.m-card>button{min-height:24px;height:24px;padding:2px 6px;font-size:10px}
@media(orientation:landscape) and (max-height:380px){.m-room{grid-template-rows:32px 30px 16px minmax(0,1fr) 25px;padding:5px 10px;gap:3px}.m-toolbar select{height:30px}.m-tabs button{min-height:30px}.m-grid{gap:5px}.m-card{padding:4px 7px}.m-card-top>.item-art{height:27px;width:27px}.m-card-top{gap:5px}.m-card h3{font-size:12px}.m-card small{font-size:8px}.m-card p{font-size:10px}.m-card-bottom{font-size:9px}.m-forge{grid-template-rows:32px minmax(0,1fr)}}

/* A workbench shows the design and its minimum result before spending. */
.m-forge.m-designed-workbench .m-forge-layout{grid-template-columns:minmax(240px,.85fr) minmax(0,1.4fr)}
.m-forge.m-designed-workbench .m-craft-desk{display:grid;grid-template-rows:auto 32px minmax(48px,1fr) 32px auto 36px;gap:6px;padding:10px;min-height:0}
.m-forge.m-designed-workbench .m-craft-desk>*{min-height:0;min-width:0;flex-shrink:1}
.m-forge.m-designed-workbench .m-focus-label{display:flex;align-items:center;gap:7px;font-size:11px;white-space:nowrap}
.m-forge.m-designed-workbench .m-focus-label select{flex:1;min-width:90px;width:auto;height:30px;font-size:12px}
.m-focus-label>b{font-size:10px;color:#38634c}
.m-forge.m-designed-workbench .m-before-craft{min-height:0!important;display:grid;grid-template-columns:1fr auto;gap:3px 8px;background:#dce5c8;border:1px solid #8aa37a;text-align:left;padding:6px 9px;font-size:11px;align-content:center;overflow:hidden}
.m-before-craft>span:first-child{display:flex;gap:8px;align-items:baseline}.m-before-craft small{font-size:9px;font-weight:400}
.m-before-craft>span:nth-child(2){grid-column:1;font-size:11px;line-height:1.4}.m-before-craft>strong{grid-column:2;grid-row:1/3;font-size:10px}
.m-forge.m-designed-workbench .m-craft-copy{align-items:center;font-size:12px}.m-forge.m-designed-workbench .m-craft-copy small{flex:1}.m-forge.m-designed-workbench .m-craft-copy button{min-height:28px;padding:3px 7px;font-size:10px}
.m-forge.m-designed-workbench .m-craft-actions{margin:0!important}.m-forge.m-designed-workbench .m-craft-actions button{height:100%;min-height:0}
.m-forge.m-designed-workbench .m-materials{min-height:0}.m-forge.m-designed-workbench .m-materials button{min-height:0;height:100%}
.m-preview-buyer{background:#f3ecd1;padding:6px;border:1px solid #afb496;font-size:10px;line-height:1.5;width:100%;margin-top:auto}
.m-craft-preview .m-object-art{max-height:45px;min-height:20px}.m-craft-preview .m-object{gap:4px}
.m-market-ended{border-top:1px solid #9aa980;padding-top:7px;margin-top:6px;font-size:10px}.m-market-ended>span{display:block;font-size:9px;line-height:1.4}.m-market-ended small{display:block;opacity:.75}
@media(orientation:landscape) and (max-height:350px){
 .m-forge.m-designed-workbench .m-forge-layout{grid-template-columns:minmax(210px,.8fr) minmax(0,1.4fr);gap:7px}
 .m-forge.m-designed-workbench .m-craft-desk{grid-template-rows:27px 28px minmax(39px,1fr) 26px 29px 30px;gap:3px;padding:5px 7px}
 .m-forge.m-designed-workbench .m-craft-title .item-art{height:26px;width:26px}.m-forge.m-designed-workbench .m-craft-title h2{font-size:13px}.m-forge.m-designed-workbench .m-craft-title small{font-size:8px;line-height:1.2}
 .m-forge.m-designed-workbench .m-focus-label{font-size:10px;gap:4px}.m-forge.m-designed-workbench .m-focus-label select{height:26px;font-size:11px}.m-focus-label>b{font-size:9px}
 .m-forge.m-designed-workbench .m-before-craft{padding:3px 6px;gap:2px}.m-before-craft>span:first-child{gap:4px}.m-before-craft small{font-size:8px}.m-before-craft>span:nth-child(2){font-size:10px}
 .m-forge.m-designed-workbench .m-craft-copy{gap:4px;font-size:10px}.m-forge.m-designed-workbench .m-craft-copy small{font-size:8px;line-height:1.3}.m-forge.m-designed-workbench .m-craft-copy button{font-size:9px;padding:2px 4px;min-height:25px}
 .m-craft-preview .m-object-art{display:none}.m-craft-preview .m-object p{font-size:10px}.m-craft-preview .m-object small{font-size:9px}.m-preview-buyer{padding:3px;font-size:9px;line-height:1.3}
 .m-craft-preview .m-note{font-size:9px!important}.m-market-ended{padding-top:3px;margin-top:3px}.m-market-ended small{display:none}
}

.m-forge.m-designed-workbench .m-craft-desk{grid-template-columns:minmax(0,1fr)}
.m-forge.m-designed-workbench .m-craft-desk>*{grid-column:1;grid-row:auto}
.m-forge.m-designed-workbench .m-focus-label{flex-direction:row;align-items:center}
.m-forge.m-designed-workbench .m-focus-label select{min-height:26px;padding:2px 6px}
.m-forge.m-designed-workbench .m-craft-copy{display:flex;align-items:center;justify-content:space-between}
.m-forge.m-designed-workbench .m-materials button{flex-wrap:nowrap;justify-content:center}
.m-forge.m-designed-workbench .m-craft-copy{flex-direction:row;gap:7px;text-align:left}
.m-forge.m-designed-workbench .m-craft-copy>b{white-space:nowrap;flex:none}
.m-forge.m-designed-workbench .m-craft-copy>small{flex:1;min-width:0}
.m-forge.m-designed-workbench .m-craft-copy>button{flex:none;align-self:center;margin:0}
.m-ledger .m-market-ended{min-height:28px;flex:none;font-size:10px;margin:0;padding:3px 5px;text-align:center}
.m-ended-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;flex:1;min-height:0}.m-ended-list>div{display:flex;flex-direction:column;justify-content:center;gap:6px;padding:10px;background:#dce2c5;border:1px solid #a4b091}.m-ended-list b{font-size:12px}

.m-skill-opening{padding:7px 9px;background:#d9ddbf;border-left:3px solid #ab852e;border-radius:4px}.m-skill-opening b,.m-skill-opening small{display:block;font-size:12px;line-height:1.4}.m-skill-opening small{font-size:10px}@media(max-height:350px){.m-skill-opening{padding:4px 7px}.m-skill-opening b{font-size:11px}.m-skill-opening small{display:none}}
.m-market-place>small{color:#263f34}.m-market-place>small:empty{display:none}
