:root{color:#111;background:#fff;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.site-header{z-index:30;background:#fff;border-bottom:1px solid #eee;justify-content:space-between;align-items:center;height:64px;padding:0 28px;display:flex;position:sticky;top:0}.brand{font-size:24px;font-weight:900}.site-header nav{align-items:center;gap:18px;display:flex}.link-button{cursor:pointer;background:0 0;border:0}.landing{max-width:860px;margin:0 auto 100px}.landing-images img{width:100%;display:block}.purchase-panel{border-top:1px solid #eee;justify-content:space-between;align-items:center;gap:30px;padding:36px 28px 48px;display:flex}.product-name{margin-bottom:8px;font-size:25px;font-weight:800}.period{color:#666;margin-bottom:14px}.purchase-panel strong{font-size:30px}.primary{color:#fff;cursor:pointer;background:#111;border:0;border-radius:10px;padding:14px 20px;font-weight:800;display:block}.primary:disabled{background:#aaa}.primary.huge{min-width:260px;padding:18px 26px;font-size:19px}.primary.inline{display:inline-block}.sticky-buy{display:none}.auth-card,.checkout,.my-page,.result{width:min(520px,100% - 32px);margin:70px auto}.auth-card.wide{width:min(620px,100% - 32px)}.auth-card h1,.checkout h1,.my-page h1{font-size:32px}.auth-card form,.admin-form,.sms-form{flex-direction:column;gap:18px;display:flex}.auth-card label,.admin-form label,.sms-form label{flex-direction:column;gap:8px;font-weight:700;display:flex}.auth-card input,.admin-form input,.admin-form select,.sms-form select,.sms-form textarea{border:1px solid #ddd;border-radius:8px;padding:13px}.checks{flex-direction:column;gap:10px;display:flex}.checks label{flex-direction:row;font-weight:400}.error{color:#ba2525;background:#fff1f1;border-radius:8px;padding:12px}.order-summary{background:#f7f7f7;border-radius:10px;justify-content:space-between;margin-bottom:22px;padding:18px;display:flex}.purchase-card{border:1px solid #e5e5e5;border-radius:12px;justify-content:space-between;margin:14px 0;padding:22px;display:flex}.purchase-card b{font-size:18px}.purchase-card span{color:#555}.empty,.empty-box{text-align:center;color:#666;padding:80px 20px}.admin-shell{background:#f6f7f9;grid-template-columns:220px 1fr;min-height:100vh;display:grid}.admin-shell aside{color:#fff;background:#111;flex-direction:column;gap:7px;padding:28px 18px;display:flex}.admin-shell aside a{border-radius:8px;padding:12px}.admin-shell aside a:hover{background:#262626}.admin-brand{margin:0 8px 25px;font-size:20px;font-weight:900}.admin-shell main{min-width:0;padding:38px}.admin-title{justify-content:space-between;align-items:flex-start;margin-bottom:25px;display:flex}.admin-title h1{margin:0 0 8px;font-size:30px}.admin-title p{color:#666;margin:0}.table-wrap{background:#fff;border:1px solid #e6e6e6;border-radius:12px;overflow:auto}table{border-collapse:collapse;width:100%;min-width:850px}th,td{text-align:left;vertical-align:top;border-bottom:1px solid #eee;padding:16px}th{color:#666;background:#fafafa;font-size:13px}.badge{color:#fff;background:#111;border-radius:20px;margin-left:8px;padding:3px 7px;font-size:11px}.admin-form,.sms-form,.image-admin{background:#fff;border:1px solid #e5e5e5;border-radius:12px;margin-bottom:24px;padding:26px}.form-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.check-line{align-items:center;flex-direction:row!important}.image-list{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;margin-top:20px;display:grid}.image-list div{border:1px solid #ddd;border-radius:8px;position:relative;overflow:hidden}.image-list img{width:100%;display:block}.image-list span{color:#fff;text-align:center;background:#111;border-radius:99px;width:25px;height:25px;line-height:25px;position:absolute;top:6px;left:6px}.image-actions{grid-template-columns:50px 50px 1fr;display:grid}.image-list button{border:0;border-right:1px solid #ddd;width:100%;padding:10px}.image-list button:last-child{border-right:0}.hint{color:#777}.message-cell{white-space:pre-wrap;max-width:420px}.success-box{color:#17662c;background:#effaf2;border-radius:10px;padding:16px;font-weight:700}@media (width<=760px){.site-header{padding:0 16px}.purchase-panel{padding-bottom:100px;display:block}.purchase-panel .huge{width:100%;margin-top:22px}.sticky-buy{z-index:50;background:#fff;border-top:1px solid #ddd;justify-content:space-between;align-items:center;padding:12px 16px;display:flex;position:fixed;bottom:0;left:0;right:0}.sticky-buy span{font-weight:900}.sticky-buy button{color:#fff;background:#111;border:0;border-radius:8px;padding:13px 22px;font-weight:800}.admin-shell{display:block}.admin-shell aside{flex-direction:row;padding:12px;position:static;overflow:auto}.admin-brand{display:none}.admin-shell aside a{white-space:nowrap}.admin-shell main{padding:20px 12px}.admin-title{gap:15px}.form-grid{grid-template-columns:1fr}.purchase-card{display:block}.purchase-card span{margin-top:10px;display:block}.landing{margin-bottom:80px}}.sms-workspace{grid-template-columns:minmax(0,1fr) minmax(420px,1fr);align-items:start;gap:24px;display:grid}.sms-compose{min-height:680px;margin:0}.sms-customers-panel,.template-list-card{background:#fff;border:1px solid #e5e5e5;border-radius:12px;min-width:0;padding:24px}.sms-customers-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.sms-customers-head h2,.sms-compose h2,.template-list-card h2,.admin-form h2{margin:0 0 8px}.sms-customers-head p{color:#777;margin:0}.select-all-line{white-space:nowrap;align-items:center;gap:7px;font-weight:700;display:flex}.sms-customer-list{border-top:1px solid #eee;flex-direction:column;max-height:680px;display:flex;overflow:auto}.sms-customer-row{cursor:pointer;border-bottom:1px solid #eee;grid-template-columns:24px minmax(120px,.7fr) minmax(180px,1.3fr);align-items:center;gap:12px;padding:15px 4px;display:grid}.sms-customer-row:hover{background:#fafafa}.sms-customer-row input{width:17px;height:17px}.customer-main,.customer-meta{flex-direction:column;gap:4px;min-width:0;display:flex}.customer-main span,.customer-meta span{color:#666;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.customer-main strong{font-size:15px}.placeholder-help{color:#666;background:#f7f7f8;border-radius:8px;padding:10px 12px;font-size:13px;line-height:1.8}.placeholder-help code{color:#333;background:#ececef;border-radius:5px;padding:2px 5px}.selected-template-note{color:#555;margin-top:-8px;font-size:13px}.sms-preview{background:#fafafa;border:1px solid #dedede;border-radius:12px;padding:15px}.sms-preview-title{margin-bottom:8px;font-size:13px;font-weight:800}.sms-preview pre,.template-list-item pre{white-space:pre-wrap;margin:0;font-family:inherit;line-height:1.55}.recipient-summary{border-top:1px solid #eee;padding:12px 0;font-size:15px}.primary.full{width:100%}.template-page-grid{grid-template-columns:minmax(380px,.9fr) minmax(420px,1.1fr);align-items:start;gap:24px;display:grid}.template-page-grid .admin-form{margin:0}.template-list-card{flex-direction:column;gap:12px;display:flex}.template-list-item{border:1px solid #e8e8e8;border-radius:10px;padding:16px}.template-list-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.template-type{color:#777;margin:6px 0 10px;font-size:12px}.status-chip{color:#666;background:#eee;border-radius:99px;padding:4px 8px;font-size:11px}.status-chip.active{color:#1f6a35;background:#e8f7ec}.button-row{align-items:center;gap:8px;margin-top:12px;display:flex}.secondary,.danger-button{cursor:pointer;background:#fff;border:1px solid #d7d7d7;border-radius:8px;padding:10px 14px;font-weight:700}.danger-button{color:#b3261e;border-color:#efc7c4}.field-help{color:#777;margin-top:2px;font-size:12px;font-weight:400}.empty-box.compact{padding:35px 12px}.admin-shell aside a.active{background:#262626}@media (width<=1100px){.sms-workspace,.template-page-grid{grid-template-columns:1fr}.sms-customer-list{max-height:500px}}@media (width<=760px){.sms-customer-row{grid-template-columns:24px 1fr}.customer-meta{grid-column:2}}
