.creative-tools{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:0 16px 9px}
.creative-tools button{font-size:11px;padding:9px 5px;background:#f4f7eb;border-color:#d5dfbe;color:#354525}
#modal[open]:has(#artPalette,#typeMaterials){width:1040px;display:flex;flex-direction:column;max-height:94dvh}
#modal:has(#artPalette,#typeMaterials) #modalContent{display:flex;flex-direction:column;min-height:0;width:100%}
#modal:has(#artPalette,#typeMaterials) .modal-body{max-height:none;overflow:auto;min-height:0}
#modal:has(#artPalette,#typeMaterials) .modal-actions{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fafbf7;border-top:1px solid #e3e7db;padding:12px 24px}
.creative-footer-note{font-size:11px;line-height:1.7;color:#7a856b;max-width:60%}
#artPalette [hidden],#typeMaterials [hidden]{display:none!important}
.creative-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:26px;align-items:start}
.creative-columns>section,.creative-columns>div{min-width:0}.creative-columns h3{font-size:13px;margin-top:0}
.creative-columns .field input:not([type=range]):not([type=color]),.creative-columns .field select{width:100%}
.creative-columns canvas{display:block;max-width:100%;max-height:480px;height:auto;width:auto;margin:12px auto;border:1px solid #dde2d5;border-radius:7px;background:repeating-conic-gradient(#f0f0eb 0 25%,#fff 0 50%) 0/14px 14px}
#artPaletteSourcePreview{max-height:180px;object-fit:contain;border-radius:7px}.sample-color-row{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 15px}
.sample-color-row button{display:flex;flex-direction:column;align-items:center;gap:5px;padding:5px;background:#fff;min-width:42px}.sample-color-row i{width:30px;height:26px;background:var(--sample-color);border-radius:4px;border:1px solid #0001}.sample-color-row small{font-size:9px;color:#7a856b}
.creative-lead{display:flex;align-items:center;gap:10px;margin:10px 0 17px}.creative-lead input{height:35px;width:72px;padding:3px}.creative-lead span{font-size:12px;color:#7a856b}
.art-palette-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.art-palette-choice{min-width:0;padding:8px;display:flex;flex-direction:column;gap:7px;text-align:left;background:#fff}
.art-palette-choice>span:first-child{font-size:10px;line-height:1.6;min-height:32px}.art-palette-choice[aria-pressed=true]{border-color:#8b9e63;background:#f3f7e9;box-shadow:0 0 0 1px #a9be7f}
.palette-strip{display:flex;height:25px;border-radius:5px;overflow:hidden;border:1px solid #0001}.palette-strip i:first-child{flex:6}.palette-strip i:nth-child(2){flex:3}.palette-strip i:nth-child(3){flex:1}
.palette-role-colors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}.palette-role-colors label{display:flex;flex-direction:column;gap:5px;font-size:10px}.palette-role-colors input{width:100%;height:34px;padding:3px}.palette-role-colors small{color:#8d957f;font-size:9px}
.creative-details{margin-top:14px;border-top:1px solid #e3e7db;padding-top:12px}.creative-details summary{cursor:pointer;font-size:12px;font-weight:600}
.creative-role-list{max-height:360px;overflow:auto;margin:12px 0;border:1px solid #e2e7d8;border-radius:7px;background:#fff}
.creative-role-list label{display:grid;grid-template-columns:minmax(0,1fr) 115px;gap:9px;align-items:center;padding:9px;border-bottom:1px solid #edf0e6;font-size:11px}.creative-role-list label:last-child{border-bottom:0}.creative-role-list span{overflow-wrap:anywhere;white-space:pre-line}.creative-role-list select{width:100%;font-size:10px;padding:6px}
.creative-role-list .material-layer-choice{grid-template-columns:18px minmax(0,1fr) 112px}.material-layer-choice small{font-size:10px;color:#8d957f}
.creative-library-tabs{display:flex;gap:8px;margin:15px 0}.creative-library-tabs button[aria-pressed=true]{background:#edf5d8;border-color:#aec475}
.creative-shelf-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.creative-shelf-tools>input{flex:1;min-width:160px}.creative-shelf-tools label{font-size:11px;display:flex;gap:4px;align-items:center;white-space:nowrap}.creative-shelf-tools button{font-size:11px}
.material-card-tools{display:flex;gap:4px;flex-wrap:wrap}.material-card-tools button{padding:4px 6px;font-size:9px}.material-card-tools button[aria-pressed=true]{background:#f0f5df;color:#657e31}
.material-text-slots{display:flex;flex-direction:column;gap:12px}.material-text-slots label{font-size:11px}.material-text-slots span{display:block;color:#6b7957;margin-bottom:5px}.material-text-slots textarea{width:100%;min-height:58px;font-size:14px;line-height:1.6;resize:vertical}
.material-font-remap{background:#fff7e7;border:1px solid #ecd6a6;border-radius:7px;padding:12px;margin:15px 0}.material-font-remap strong{font-size:11px}.material-font-remap label{display:block;font-size:10px;margin-top:10px}.material-font-remap label span{display:block;margin-bottom:5px}.material-font-remap select{width:100%}
.material-rename-form{background:#f5f8ed;border:1px solid #dce5c8;border-radius:5px;padding:8px}.material-rename-form label{display:block;font-size:10px;margin-bottom:6px}.material-rename-form input{width:100%;margin-top:3px;font-size:11px}
@media(max-width:700px){.creative-columns{grid-template-columns:1fr;gap:16px}.creative-columns canvas{max-height:350px}.creative-tools{padding:0 12px 8px}.creative-tools button{min-height:36px;font-size:10px}.creative-footer-note{max-width:100%;flex-basis:100%}#modal:has(#artPalette,#typeMaterials) .modal-actions{flex-wrap:wrap;padding:10px 16px}.creative-library-tabs button{font-size:11px}.art-palette-choice>span:first-child{font-size:9px}.creative-role-list{max-height:280px}}

.font-gallery-filter{display:flex;gap:5px;margin:8px 0}.font-gallery-filter button{padding:5px 8px;font-size:12px}.font-gallery-filter button[aria-pressed="true"]{background:#eef4dc;border-color:#b9cc85;font-weight:600}

@font-face{font-family:GenkaiMincho;src:url("./font-GenkaiMincho.woff") format("woff")}

@font-face{font-family:SoukouMincho;src:url("./font-SoukouMincho.woff") format("woff")}
