.materials-page{
  min-height: 100vh;
  background: #f7f5f2;
  color: #30251e;
}.materials-page .materials-body{
  padding: 20px 16px calc(28px + env(safe-area-inset-bottom));
  max-width: 680px;
  margin: auto;
}.materials-page .materials-intro{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}.materials-page .page-title{
  font-size: 25px;
  font-weight: 800;
}.materials-page .muted{
  display: block;
  color: #80766e;
  font-size: 13px;
  line-height: 1.6;
}.materials-page .search{
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}.materials-page .search input{
  flex: 1;
  min-width: 0;
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  height: 24px;
  font-size: 14px;
}.materials-page button{
  font-size: 14px;
  border-radius: 12px;
  margin: 0;
}.materials-page button::after{
  border: none;
}.materials-page .search button,.materials-page .select-button{
  background: #fff0df;
  color: #ad4009;
}.materials-page .channel-card{
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  background: white;
  border: 1px solid #eee7df;
  border-radius: 18px;
  margin-bottom: 12px;
}.materials-page .store-name{
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  overflow-wrap: anywhere;
}.materials-page .address{
  color: #675c54;
  font-size: 14px;
  line-height: 1.6;
}.materials-page .select-button{
  margin-top: 8px;
}.materials-page .select-button[disabled]{
  color: #999;
  background: #f3f3f3;
}.materials-page .state{
  display: block;
  text-align: center;
  padding: 24px 8px;
  color: #827268;
  line-height: 1.7;
}.materials-page .state button{
  margin-top: 12px;
}.materials-page .selected-store{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border-radius: 16px;
}.materials-page .selected-store > div{
  flex: 1;
  min-width: 0;
}.materials-page .selected-store button{
  flex-shrink: 0;
  color: #bd4915;
  background: #fff1e6;
  padding: 0 12px;
}.materials-page .format-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}.materials-page .format-tabs button{
  min-width: 100px;
}.materials-page .custom-size{
  padding: 16px;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}.materials-page .size-inputs{
  display: flex;
  align-items: center;
  gap: 12px;
}.materials-page .size-inputs label{
  flex: 1;
  min-width: 0;
  color: #675c54;
  font-size: 13px;
}.materials-page .size-inputs input{
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 42px;
  margin-top: 6px;
  padding: 8px;
  border: 1px solid #e8dfd4;
  border-radius: 8px;
  font-size: 16px;
}.materials-page .custom-size button{
  background: #fff0df;
  color: #ad4009;
}.materials-page .format-tabs button{
  flex: 1;
  background: white;
  color: #715f51;
  border: 1px solid #e8dfd4;
}.materials-page .format-tabs .active{
  background: #fff0df;
  color: #a83c08;
  border-color: #f49246;
  font-weight: 700;
}.materials-page .print-preview{
  max-width: 420px;
  margin: auto;
}.materials-page .print-preview img{
  display: block;
  width: 100%;
}.materials-page .size-label{
  display: block;
  text-align: center;
  font-size: 12px;
  color: #88766b;
  margin-top: 12px;
}.materials-page .print-note{
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: #fff;
  padding: 16px;
  border-radius: 14px;
  color: #7a6657;
  font-size: 12px;
  line-height: 1.65;
  margin: 20px 0;
}.materials-page .print-note > span:first-child{
  font-size: 15px;
  font-weight: 700;
  color: #553724;
}.materials-page .download{
  background: linear-gradient(100deg, #f6921d, #ec1b23);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 52px;
}.materials-page .download[disabled]{
  background: #dfd9d3;
  color: #999;
}.materials-page .preview-button{
  margin-top: 10px;
  background: transparent;
  color: #aa491b;
}.materials-page .error{
  color: #a63b22;
}