.admin-page{padding:58px max(24px,calc((100% - 1160px)/2));background:#faf8f1;min-height:calc(100vh - 74px)}
.admin-page h1{margin:0;font-size:42px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:30px 0}.admin-card{padding:26px;border-radius:16px;background:white;box-shadow:0 10px 26px #163d2914}.admin-card h2{margin-top:0}.table-card.full{max-width:none;margin:20px 0;overflow-x:auto}.muted{color:#60756d}.upi-qr{display:block;width:260px;height:260px;max-width:100%;margin:15px auto;border:10px solid white;box-shadow:0 5px 20px #0002}@media(max-width:780px){.admin-grid{grid-template-columns:1fr}.admin-page{padding-top:40px}.table-card{overflow-x:auto}}
.admin-template-thumb{width:90px;height:60px;object-fit:cover;border-radius:8px;border:1px solid #e6dfd0}.store-page{padding:70px max(24px,calc((100% - 1160px)/2));min-height:70vh}.store-page>h1{font-size:46px;margin:8px 0}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:32px}.template-card{overflow:hidden;border:1px solid #e4e9e5;border-radius:18px;background:#fff;box-shadow:0 14px 34px #163d2912}.template-card>img{display:block;width:100%;aspect-ratio:1.58;object-fit:cover;background:#eef5f0}.template-card>div{padding:20px}.template-card h2{margin:5px 0}.template-buy-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.template-buy-row strong{font-size:22px}@media(max-width:900px){.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.template-grid{grid-template-columns:1fr}.store-page>h1{font-size:34px}}
.portal-actions{display:flex;flex-wrap:wrap;gap:12px;margin:25px 0}.button.whatsapp{color:#fff;background:#1fa855}.table-card.full table{min-width:920px}.table-card td small{color:#60756d}
.nav-whatsapp{padding:9px 12px;border-radius:8px;color:#fff;background:#1fa855}
.product-admin-image{width:90px;height:60px;object-fit:cover;border-radius:8px}.software-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:35px}.software-product-card{overflow:hidden;border:1px solid #dce9e1;border-radius:18px;background:#fff;box-shadow:0 14px 34px #163d2912}.software-product-card>img,.software-image-placeholder{display:grid;place-items:center;width:100%;aspect-ratio:16/9;object-fit:cover;background:linear-gradient(135deg,#063b2a,#0b9654);color:#ffe177;font-size:44px;font-weight:900}.software-product-card>div:last-child{padding:22px}.software-product-card h3{margin:10px 0}.software-product-card p{min-height:50px;color:#60756d}@media(max-width:850px){.software-product-grid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.software-product-grid{grid-template-columns:1fr}}
.software-card-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.software-card-actions .button{padding:11px 13px}.product-whatsapp{color:#fff;background:#1fa855}.share-result{display:block;min-height:20px;margin-top:8px;color:#08783d;font-weight:700}
.inline-upload{display:flex;align-items:center;gap:8px}.inline-upload input[type=file]{min-width:220px}
.teacher-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.teacher-title-row h1{margin-top:0}@media(max-width:650px){.teacher-title-row{display:block}.teacher-title-row>div:last-child{margin-top:18px}}
.teacher-export-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.teacher-export-actions .button{white-space:nowrap}@media(max-width:900px){.teacher-title-row{align-items:flex-start;flex-direction:column}.teacher-export-actions{justify-content:flex-start}}
.member-actions{display:flex;align-items:center;gap:7px}.member-actions form{margin:0}.member-actions .button{padding:8px 12px;white-space:nowrap}.button.danger{border:0;background:#b42318;color:#fff}
.teacher-portals-page{background:#f4f7f8}.teacher-create-card{max-width:650px;margin-top:36px}.teacher-create-card input{font-size:15px}.copy-link{margin-left:8px;border:0;background:none;color:#ff5b51;font-weight:800;cursor:pointer}.status-active{display:block;color:#079447}.status-disabled{display:block;color:#c32e26}.teacher-portals-page .table-card a{color:#ff5b51;font-weight:800}
