.ops{max-width:1280px;margin:32px auto;padding:20px}.ops h1{font-size:30px;margin:18px 0}.ops nav,.ops #actions{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.ops .cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}.ops article{background:white;padding:24px;border:1px solid #dde6e6;border-radius:16px}.ops article p{margin:10px 0}.ops label{display:block;margin:14px 0}.ops input,.ops select{display:block;width:100%;padding:12px;border:1px solid #ccd9d8;border-radius:8px;margin-top:6px}.ops #editor{max-width:650px}.ops #error{color:#a12222;margin:12px 0}.ops #labels{margin-top:20px}.ops .roll-label{display:inline-block;width:280px;padding:18px;border:1px solid #ddd;text-align:center;margin:8px}.roll-label img{width:220px;height:220px}.ops .big{font-size:28px;font-weight:700}.ops .hint{color:#607373;font-size:13px}.ops table{background:white}.ops .btn{margin:4px}.ops #editor form{background:#fff;padding:24px;border-radius:18px}@media print{body *{visibility:hidden}.ops #labels,.ops #labels *{visibility:visible}.ops #labels{position:absolute;left:0;top:0}.roll-label{break-inside:avoid}}

.ops nav{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;align-items:center}.ops nav .btn{white-space:nowrap;flex:0 0 auto}.ops nav .selected{background:#164d40;color:#fff}.ops #actions{display:block}.ops-primary,.ops-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ops-primary .btn{background:#164d40;color:#fff}.ops-more{margin:14px 0;border:1px solid #dce6e1;border-radius:12px;background:white;padding:14px}.ops-more summary,.ops-guide summary{cursor:pointer;font-weight:600}.ops-more[open] summary{margin-bottom:14px}.ops-guide{color:#607373;font-size:14px}
@media(max-width:820px){.ops{margin:0;padding:18px 14px 40px;max-width:100%;overflow-x:hidden}.ops h1{font-size:23px;margin:18px 0 10px}.ops .btn{margin:0;padding:12px 10px;font-size:14px;min-height:44px;text-decoration:none}.ops nav{gap:8px;margin:16px 0}.ops-primary,.ops-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-primary .btn:last-child:nth-child(odd){grid-column:1/-1;background:white;color:#164d40}.ops .cards{grid-template-columns:minmax(0,1fr);gap:12px}.ops article{padding:18px}.ops article .btn{margin:6px 6px 0 0}.ops h2{font-size:19px}.ops #ops-content>p.notice{font-size:13px}.ops #editor{scroll-margin-top:12px}.ops #editor form{padding:16px}.ops table{display:block;overflow-x:auto;max-width:100%}}

.purchase-mode,.purchase-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.purchase-mode label{display:flex!important;align-items:center;gap:6px;padding:12px;background:#e9f3ea;border-radius:12px}.purchase-mode input{width:18px!important}.purchase-grid input{min-width:0}#editor [hidden]{display:none!important}
