:root{--ink:#26243b;--text:#4a4d69;--muted:#737993;--purple:#8650cf;--purple-dark:#6540bb;--violet:#a36fe1;--stroke:#ded9fb;--surface:#fff;--bg:#f3f1fd;--shadow:0 12px 34px rgba(107,78,163,.075);--radius:21px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Anuphan,'Noto Sans Thai',Tahoma,sans-serif;font-size:14px;background:linear-gradient(180deg,#eae7fb 0px,#f5f3fd 450px,#f6f5fe 100%);min-height:100vh;line-height:1.6}button,input,textarea,select{font:inherit}a{color:var(--purple-dark);text-decoration:none}a:hover{color:#4c25a0}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(25px,3vw,35px);line-height:1.27;margin-bottom:9px;letter-spacing:-.5px}h2{font-size:21px;margin-bottom:15px;line-height:1.4}h3{font-size:16px}p{color:var(--text)}small{font-size:12px}.container{width:min(1290px,calc(100% - 46px));margin:0 auto}.topbar{background:rgba(255,255,255,.95);border-bottom:1px solid #ddd5fa;position:relative;z-index:10}.topbar-inner{height:77px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:flex;align-items:center;gap:11px;color:var(--ink)}.brand:hover{color:var(--ink)}.brand .logo{width:43px;height:43px;border-radius:14px;background:linear-gradient(145deg,#e32cda,#7c30de);color:#fff;font-weight:800;font-size:31px;text-align:center;line-height:43px;box-shadow:0 5px 16px #9554e35e;transform:rotate(-8deg)}.brand span:last-child{display:flex;flex-direction:column}.brand strong{font-size:22px;letter-spacing:-.3px;line-height:1.1}.brand em{font-style:normal;color:var(--purple)}.brand small{font-size:11px;color:var(--muted);letter-spacing:.2px}.top-nav{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.nav-link{font-weight:600;color:#595e76;padding:8px 14px;border:1px solid transparent;border-radius:13px;white-space:nowrap}.nav-link:hover,.nav-active{background:#f2ebff;color:#6c3dbf;border-color:#dfcaff}.main-content{padding-top:22px;padding-bottom:68px;min-height:calc(100vh - 151px)}.hero{border:1px solid #e2d6f9;box-shadow:0 14px 28px #6d53ad0d;border-radius:31px;padding:26px 30px 19px;text-align:center;background:radial-gradient(circle at 95% 0%,rgba(254,191,228,.36),transparent 40%),radial-gradient(circle at 3% 0%,rgba(210,196,252,.46),transparent 40%),radial-gradient(#e4dcfaad 1px,transparent 1px),#ffffffbe;background-size:auto,auto,22px 22px,auto}.hero-pill,.soft-badge{border:1px solid #dccbff;border-radius:40px;background:#f0e8ff;color:#754cbe;padding:5px 16px;font-weight:700;font-size:12px;display:inline-block}.hero h1{margin:5px 0 3px;color:#6a3bb6;font-size:36px}.hero h1 span{background:linear-gradient(130deg,#12aa8e,#087e89);background-clip:text;color:transparent}.hero-th{font-size:19px;color:#4c4d6c;margin:0 0 2px}.hero-desc{font-size:14px;color:#77728e;margin:0 auto 20px;max-width:800px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;text-align:left}.stat{border:1px solid var(--stroke);background:rgba(255,255,255,.53);padding:11px 13px;border-radius:17px;display:flex;gap:12px;align-items:center;min-width:0}.stat-icon{width:40px;height:40px;flex-shrink:0;display:grid;place-items:center;background:linear-gradient(135deg,#a66be7,#8150c4);box-shadow:0 3px 8px #9965dc5b;color:#fff;font-weight:800;font-size:21px;border-radius:12px}.stat small{color:#6f6b85;display:block;line-height:1.3}.stat strong{font-size:26px;line-height:1.08;display:block;letter-spacing:-.3px;color:#242435}.stat-coral{border-color:#ffd3cc}.stat-coral .stat-icon{background:linear-gradient(135deg,#ff816c,#e63950);box-shadow:0 3px 8px #e4565666}.stat-mint{border-color:#b8f0d5}.stat-mint .stat-icon{background:linear-gradient(135deg,#58d7aa,#18a976);box-shadow:0 3px 8px #2fc99366}.stat-pink{border-color:#ffd0eb}.stat-pink .stat-icon{background:linear-gradient(135deg,#ff80be,#ef448a);box-shadow:0 3px 8px #ff5a9566}.feature-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:10px;padding:12px 12px;border-radius:20px;background:linear-gradient(115deg,#ece5ffb3,#fdebf7b3);border:1px solid #dcd1fa;text-align:left}.feature-strip span{border-right:1px solid #d9cbf4;font-size:12px;color:#686680;padding:0 9px}.feature-strip span:last-child{border:0}.feature-strip b{color:#35324e}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0 16px}.section-heading>div{display:flex;gap:12px;align-items:center}.section-heading h2{margin:0}.heading-icon{display:grid;place-items:center;background:#e6dcff;color:#7647c3;border:1px solid #d2c1ff;border-radius:12px;width:37px;height:37px;font-size:23px}.event-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.event-card{border-radius:22px;background:#fff;border:1px solid #dcd6fa;overflow:hidden;box-shadow:0 8px 24px rgba(104,80,168,.04)}.event-banner{height:111px;background:radial-gradient(circle at 51% 90%,#dbc7ff,transparent 65%),linear-gradient(135deg,#f0ecff,#e2dcfb);display:flex;align-items:center;justify-content:center;position:relative}.event-banner-icon{font-size:50px;color:#9957cf;text-shadow:0 10px 15px #ad8ceca8}.event-status{position:absolute;right:12px;top:12px;border:1px solid #aee7c8;background:#e6fff1;color:#13916a;border-radius:30px;padding:3px 9px;font-weight:700;font-size:11px}.event-status.event-draft{background:#f3f1fa;border-color:#d7d1e7;color:#858298}.event-card-content{padding:18px}.event-meta{color:#8561c0;font-weight:600}.event-card h3{min-height:50px;font-weight:800;font-size:16px;line-height:1.5;margin:9px 0 6px}.event-card p{min-height:36px;font-size:12px;color:var(--muted);margin-bottom:11px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.event-bottom{display:flex;align-items:center;justify-content:space-between;border-bottom:1px dashed #ded4fa;padding-bottom:14px;margin-bottom:13px;gap:8px;font-size:12px;color:var(--muted)}.small-tag{padding:4px 8px;border:1px solid #dfd2ff;border-radius:15px;font-size:11px;background:#f4edff;color:#7c55be;white-space:nowrap}.btn{background:#f4f0fe;border:1px solid #d5cbf4;border-radius:14px;padding:10px 17px;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;color:#5e418e;font-weight:700;transition:transform .16s,box-shadow .16s;text-align:center;line-height:1.2}.btn:hover{transform:translateY(-1px);box-shadow:0 4px 13px #8665ca30;color:#56328f}.btn-primary{background:linear-gradient(135deg,#9b69df,#7e4bc4);border-color:#8f57d3;color:#fff;box-shadow:0 3px 10px #8152c944}.btn-primary:hover{color:#fff}.btn-block{display:flex;width:100%}.btn-small{padding:8px 12px;font-size:12px;border-radius:12px}.btn-tiny{padding:5px 8px;font-size:11px;border-radius:9px}.btn-lg{padding:14px 22px;font-size:15px}.panel{background:#fff;border:1px solid #dfd9f7;border-radius:23px;padding:24px;box-shadow:var(--shadow)}.empty-state{text-align:center;background:#fff;border:1px dashed #d5c9f1;border-radius:24px;padding:45px;color:#78728b}.empty-state h3{font-size:18px;margin:6px 0}.empty-state p{margin:0}.empty-icon{font-size:39px;color:#9d73d1}.empty-state.compact{padding:24px;margin:15px 0;font-size:13px}.footer{background:#fff;border-top:1px solid #e5dff5;color:#8d8ba3}.footer-inner{min-height:67px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:12px}.crumb{font-size:13px;color:#8b86a1;margin:5px 0 21px}.crumb a{color:#7452a7}.page-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:21px}.page-title-row h1{margin:11px 0 4px}.page-title-row p{margin:0}.muted{color:var(--muted)}.two-column{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.8fr);gap:22px;align-items:start}.search-form{display:flex;gap:10px;margin:22px 0}.search-form input{flex:1;min-width:0}.search-results h3{margin-top:21px}.result-item{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #eeeafa;padding:15px 0}.result-item strong{display:block;font-size:15px}.result-item small{display:block;color:#89869d}.claim-form{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.claim-code-input{width:135px}.guide-panel{background:linear-gradient(150deg,#fff,#f6f2ff)}.step{display:flex;align-items:flex-start;gap:12px;margin:20px 0}.step>span{width:32px;height:32px;background:#ece0ff;color:#7853bb;border-radius:11px;font-size:16px;display:grid;place-items:center;font-weight:800;flex-shrink:0}.step strong,.step small{display:block}.step small{font-size:12px;color:var(--muted)}.hint{background:#f6f0ff;border:1px solid #e1d4fa;border-radius:14px;color:#685a8d;font-size:12px;padding:12px 14px;margin-top:15px}.form-page{max-width:820px;margin:0 auto}.form-page h1{font-size:26px}.question{padding:18px 0;border-bottom:1px solid #ece9f5}.question h3{font-size:16px;margin-bottom:12px}.question:last-of-type{border-bottom:0}.required,.danger-text{color:#d13c63}.rating-options{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:10px}.rating-options label{cursor:pointer}.rating-options input{position:absolute;opacity:0}.rating-options span{display:inline-block;padding:9px 12px;border-radius:12px;background:#f7f3ff;border:1px solid #dfd4f8;color:#8763b6}.rating-options input:checked+span{background:#8251c5;color:#fff}.choice-options{display:flex;flex-wrap:wrap;gap:10px;flex-direction:column}.choice-options label{cursor:pointer}input:not([type=checkbox],[type=radio],[type=color],[type=file]),textarea,select{width:100%;min-height:43px;padding:10px 13px;border:1px solid #dcd6ed;border-radius:12px;background:#fff;color:#2f2d40;outline:none}input:focus,textarea:focus,select:focus{border-color:#9d76db;box-shadow:0 0 0 3px #e8dcff}input[type=file]{border:1px dashed #cbb8e7;border-radius:12px;padding:11px;background:#faf8ff;width:100%;max-width:100%}input[type=checkbox]{accent-color:#8053c7;width:17px;height:17px}.stack-form{display:grid;gap:14px}.stack-form label,.form-grid label{display:grid;gap:7px;font-weight:600;color:#50506a}.stack-form label small,.form-grid label small{font-weight:400;color:#85809c}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-grid .full{grid-column:1/-1}.check-inline{display:flex!important;flex-direction:row;align-items:center}.eval-form .btn{margin-top:20px}.auth-wrap{max-width:480px;margin:55px auto}.auth-card{text-align:center;padding:34px 35px}.auth-card form{text-align:left;margin-top:24px}.auth-card h1{font-size:27px;margin:12px 0 3px}.auth-icon{display:grid;place-items:center;margin:0 auto;width:60px;height:60px;border-radius:19px;font-size:29px;background:#e9ddff;color:#8351ca}.auth-bottom{text-align:center;margin-top:20px;font-size:12px}.alert{padding:14px 17px;border-radius:14px;margin-bottom:20px;font-size:13px}.alert-success{background:#e7faf1;border:1px solid #b2ead0;color:#126a4e}.alert-error{background:#fff0f1;border:1px solid #ffccd2;color:#bb354a}.verify-page{max-width:720px;margin:40px auto}.verify-card{text-align:center}.verify-emblem{display:grid;place-items:center;margin:0 auto 17px;width:77px;height:77px;border-radius:24px;font-size:43px;font-weight:800}.verify-emblem.valid{background:#dffbef;color:#0b9e70}.verify-emblem.invalid{background:#efe7ff;color:#8967c5}.verify-detail{text-align:left;border:1px solid #e9e3f9;border-radius:17px;overflow:hidden;margin:23px 0}.verify-detail>div{display:flex;justify-content:space-between;gap:20px;padding:11px 18px;border-bottom:1px solid #f0edf9;align-items:center}.verify-detail>div:last-child{border:0}.verify-detail small{color:#828097;min-width:135px}.verify-detail strong{font-size:14px;text-align:right}.verified-label{padding:11px 16px;border-radius:12px;background:#e5f9ef;color:#178562;font-weight:700;display:inline-block}.no-print .actions{display:flex;gap:10px;flex-wrap:wrap}.print-tip{max-width:1122px;margin:17px auto 0;text-align:center;color:#79748c;font-size:12px}.cert-stage{position:relative;width:100%;max-width:1122px;margin:0 auto;height:794px}.certificate-canvas{position:absolute;left:0;top:0;transform-origin:top left;width:1122px;height:794px;background:radial-gradient(ellipse at 0 0,#eee3ff 0,transparent 43%),radial-gradient(ellipse at 100% 100%,#e4d9ff 0,transparent 40%),#fff;background-position:center;background-size:cover;background-repeat:no-repeat;border:14px solid #faf6ff;outline:1px solid #d7c5ef;box-shadow:0 22px 48px #8562c237;overflow:hidden;print-color-adjust:exact;-webkit-print-color-adjust:exact}.certificate-canvas:before{content:"";position:absolute;inset:17px;border:2px solid #cfc0e9;pointer-events:none;z-index:1}.certificate-canvas:after{content:"";position:absolute;inset:26px;border:1px solid #e1d5ee;pointer-events:none;z-index:1}.cert-decor{position:absolute;width:260px;height:260px;border-radius:70px;background:radial-gradient(circle at 50% 50%,#cbb4f14a,transparent 65%);transform:rotate(45deg);pointer-events:none}.cert-decor.top-left{left:-140px;top:-140px}.cert-decor.bottom-right{right:-140px;bottom:-140px}.cert-element{position:absolute;transform:translate(-50%,-50%);text-align:center;font-weight:500;line-height:1.3;max-width:88%;white-space:pre-line;z-index:2;overflow-wrap:break-word}.cert-name{font-weight:800}.cert-organization{font-weight:800}.cert-award{font-weight:700}.cert-signatory{font-weight:600;max-width:42%}.cert-serial{font-size:11px}.cert-qr{display:block;aspect-ratio:1;z-index:3}.cert-qr svg{display:block;width:100%;height:100%}.adminbar{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:10px 14px;background:#fff;border:1px solid #e3dbf5;border-radius:17px;margin-bottom:22px;box-shadow:var(--shadow)}.adminbar a{padding:8px 12px;border-radius:10px;color:#624592;font-size:13px;font-weight:700}.adminbar a:hover{background:#f4edff}.adminbar-event{font-size:12px;color:#626179;max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.adminbar-divider{color:#c4b8dc}.admin-stats{margin-bottom:27px}.admin-stats .stat{background:#fff;padding:20px}.admin-stats .stat-icon{width:48px;height:48px}.table-panel{padding:0;overflow:hidden}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left}th{background:#f8f6fe;color:#68627d;font-weight:700;font-size:12px}td,th{padding:14px 17px;border-bottom:1px solid #eeeaf8}td{color:#4d4b64;vertical-align:middle;font-size:13px}td strong{color:#2e2a42}tr:last-child td{border-bottom:0}.cell-note{display:block;color:#9992aa}.table-empty{text-align:center;color:#9a94ad;padding:35px}.status-success,.status-draft,.status-danger{font-size:11px;font-weight:700;padding:4px 9px;border-radius:20px;white-space:nowrap}.status-success{background:#e2f9ec;color:#14936a}.status-draft{background:#f0eef6;color:#87809f}.status-danger{background:#ffeced;color:#d3445d}.settings-grid{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:20px}.settings-bottom{grid-column:1/-1}.toggle-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.toggle-row{display:flex;gap:12px;align-items:flex-start;border:1px solid #e8e1f8;background:#fbf9ff;padding:15px;border-radius:15px;cursor:pointer}.toggle-row input{flex-shrink:0}.toggle-row strong,.toggle-row small{display:block}.toggle-row small{color:#8e88a0;margin-top:5px}.form-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:20px}.bg-preview{display:block;width:100%;max-height:160px;object-fit:contain;border:1px solid #e1dbf0;border-radius:10px}.admin-event-grid .event-card .event-card-content{padding:15px}.admin-event-grid .event-banner{height:92px}.admin-event-grid .event-card h3{min-height:52px}.card-actions{display:flex;gap:6px;flex-wrap:wrap}.admin-recipient-grid{grid-template-columns:1.2fr 1fr}.sample-headers{font-size:12px;padding:12px 10px;background:#f7f5fb;border-radius:10px;overflow:auto;white-space:nowrap;color:#66617e}.small-search{display:flex;gap:8px}.small-search input{min-width:220px}.table-foot{border-top:1px solid #ece7f7;padding:13px 17px;color:#8b83a4;font-size:12px}.questionnaire-grid{grid-template-columns:minmax(0,1.55fr) minmax(320px,.85fr)}.question-admin{margin-bottom:18px;position:relative}.question-head,.report-title{display:flex;align-items:center;gap:10px;margin-bottom:17px}.question-head strong{flex:1}.question-num{display:grid;place-items:center;min-width:30px;height:30px;border-radius:10px;background:#e9ddfe;color:#794aba;font-weight:800}.delete-question{position:absolute;right:20px;bottom:27px}.delete-question button{background:none;border:0;cursor:pointer;font-size:12px}.question-admin .form-actions{padding-right:120px}.add-question{position:sticky;top:17px}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.report-question{min-width:0}.report-title{align-items:flex-start}.report-title h3{margin:0}.report-title p{font-size:12px;margin:4px 0}.rating-average{font-weight:800;font-size:37px;color:#8b57cf;margin:12px 0}.rating-average small{font-size:12px;color:#8c86a1;font-weight:400}.bar-list{display:grid;gap:10px}.bar-row{display:grid;grid-template-columns:63px minmax(0,1fr) 36px 49px;align-items:center;gap:8px;color:#5c526e;font-size:12px}.bar-row strong{text-align:right}.bar-row small{text-align:right;color:#9088a4}.bar-track{background:#f0e9fc;border-radius:15px;height:12px;overflow:hidden}.bar-fill{background:linear-gradient(90deg,#a777e4,#7d4fce);height:100%;border-radius:15px}.comments-list{display:grid;gap:8px}.comment-item{background:#faf8fe;border:1px solid #ece5fa;border-radius:12px;padding:11px;color:#4f4868}.comment-item small{float:right;color:#9285ab}.designer-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:19px;align-items:start}.designer-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;color:#6e5d8b;font-weight:700}.designer-preview{padding:18px;border-radius:20px;background:#e9e3f6;border:1px solid #d6cbed;overflow:hidden}.designer-preview .certificate-canvas{border-width:10px}.designer-sidebar{padding:18px;max-height:calc(100vh - 130px);overflow:auto;position:sticky;top:15px}.designer-sidebar h2{font-size:18px;margin-bottom:5px}.designer-sidebar p{font-size:12px}.designer-fields{display:grid;gap:8px}.designer-field{border:1px solid #e8e1f8;border-radius:12px;padding:10px;background:#fbfaff}.designer-field.active{background:#f0e6ff;border-color:#b18ce8}.field-select{border:0;background:none;color:#584477;font-weight:700;cursor:pointer;padding:0;margin-right:10px;text-align:left}.field-visible{float:right;font-size:11px;color:#6e6385;display:flex;align-items:center;gap:4px}.field-visible input{width:14px;height:14px}.field-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:9px}.field-controls label{font-size:10px;color:#858099}.field-controls input:not([type=checkbox],[type=radio],[type=color],[type=file]){padding:5px;width:100%;height:31px;min-height:31px;font-size:11px}.field-controls input[type=color]{width:100%;height:31px;cursor:pointer;padding:0;border:0}.designer-save{position:sticky;bottom:-18px;margin:15px -18px -18px;padding:12px 18px;background:#fff;border-top:1px solid #eadff8}.cert-element.is-editable{touch-action:none;cursor:grab;outline:1px dashed transparent;outline-offset:5px;user-select:none}.cert-element.is-editable:hover,.cert-element.is-editable.selected{outline-color:#9b68cf;background:#fbf6ff33}.cert-element.is-editable:active{cursor:grabbing}.link{font-size:13px;font-weight:700}.event-grid.admin-event-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1050px){.event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-strip{grid-template-columns:1fr 1fr;row-gap:12px}.feature-strip span:nth-child(2){border:0}.stat-grid{grid-template-columns:1fr 1fr}.settings-grid,.report-grid{grid-template-columns:1fr}.toggle-list{grid-template-columns:1fr}.designer-layout{grid-template-columns:1fr}.designer-sidebar{max-height:none;position:static}.event-grid.admin-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:750px){.container{width:calc(100% - 28px)}.topbar-inner{height:auto;min-height:77px;align-items:start;padding:13px 0;flex-direction:column;gap:10px}.brand strong{font-size:20px}.top-nav{gap:2px}.nav-link{padding:6px 8px;font-size:11px}.main-content{padding-top:17px}.hero{padding:20px 12px 12px;border-radius:22px}.hero h1{font-size:29px}.hero-th{font-size:15px}.hero-desc{font-size:12px}.stat{padding:10px;gap:8px}.stat-icon{width:35px;height:35px;border-radius:10px}.stat strong{font-size:22px}.stat small{font-size:10px}.feature-strip{display:none}.event-grid,.event-grid.admin-event-grid{grid-template-columns:1fr}.event-card h3{min-height:0}.two-column,.admin-recipient-grid,.questionnaire-grid{grid-template-columns:1fr}.panel{padding:19px}.section-heading{align-items:flex-start;gap:10px}.section-heading h2{font-size:18px}.page-title-row{align-items:flex-start;flex-direction:column}.page-title-row h1{font-size:25px}.search-form{flex-wrap:wrap}.search-form .btn{width:100%}.result-item{align-items:flex-start;flex-direction:column}.claim-form{justify-content:flex-start}.form-grid{grid-template-columns:1fr}.footer-inner{flex-direction:column;justify-content:center;gap:4px;padding:14px 0;text-align:center}.bar-row{grid-template-columns:50px 1fr 22px 40px}.verify-detail>div{flex-direction:column;align-items:flex-start;gap:3px}.verify-detail strong{text-align:left}.small-search input{min-width:125px;width:180px}.adminbar-event{max-width:100%}}@media print{@page{size:A4 landscape;margin:0}html,body{margin:0!important;padding:0!important;width:297mm;height:210mm;background:#fff!important;overflow:visible!important}.topbar,.footer,.no-print,.print-tip,.adminbar{display:none!important}.main-content,.container{padding:0!important;margin:0!important;width:297mm!important;max-width:none!important;min-height:0!important}.cert-stage{width:297mm!important;height:210mm!important;margin:0!important;max-width:none!important;overflow:hidden!important}.certificate-canvas{position:absolute!important;left:0!important;top:0!important;width:297mm!important;height:210mm!important;transform:none!important;box-shadow:none!important;outline:0!important;print-color-adjust:exact!important;-webkit-print-color-adjust:exact!important}}

.row-actions{display:flex;gap:5px;align-items:center;white-space:nowrap}

/* Evaluation Builder v1.1 – pastel-purple school admin */
.eval-page-title{margin-bottom:19px}.eval-stats{margin-bottom:20px}
.eval-stats .stat{border:1px solid #e5dbfa;background:linear-gradient(145deg,#fff,#fcfaff);box-shadow:0 7px 20px rgba(107,78,163,.04)}
.eval-policy-panel{background:radial-gradient(circle at top right,#ffeff9 0,transparent 36%),linear-gradient(125deg,#fff,#fcfaff);margin-bottom:26px;border-color:#e2d7fa}
.eval-policy-panel .section-heading{margin-bottom:6px}.eval-policy-panel .section-heading h2{margin:0}
.evaluation-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:10px 0 3px}
.eval-mode{cursor:pointer;min-width:0;position:relative;display:block!important}
.eval-mode>input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.eval-mode-content{display:flex;min-height:151px;flex-direction:column;align-items:flex-start;gap:4px;padding:17px 17px 15px;border:1.5px solid #e1d9f3;border-radius:19px;background:#fff;transition:border-color .18s,box-shadow .18s,background .18s}
.eval-mode-content strong{font-size:15px;color:#373149}.eval-mode-content small{font-size:12px;line-height:1.55;color:#78728e;font-weight:400}
.eval-mode-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:12px;font-weight:800;font-size:22px;margin-bottom:4px}
.eval-mode-icon.neutral{background:#eff0f7;color:#817c97}.eval-mode-icon.coral{background:#ffedf2;color:#ea6b86}.eval-mode-icon.purple{background:#eee5ff;color:#8453cc}
.eval-mode:hover .eval-mode-content{border-color:#bfa8ee;box-shadow:0 5px 17px #7b4ed215}
.eval-mode>input:checked+.eval-mode-content{background:linear-gradient(145deg,#faf7ff,#f3ecff);border:2px solid #9666dc;box-shadow:0 5px 19px #7b4ed21d;padding:16.5px 16.5px 14.5px}
.eval-mode>input:focus-visible+.eval-mode-content{outline:3px solid #bb95ed;outline-offset:3px}
.eval-mode>input:checked+.eval-mode-content:after{content:'✓';position:absolute;right:14px;top:12px;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#8653cc;color:#fff;font-size:13px}
.eval-text-settings{margin-top:14px}.eval-text-settings textarea{width:100%;min-height:94px}
.eval-builder-heading{margin:4px 0 14px}.eval-builder-heading h2{margin:0}.eval-builder-grid{gap:20px;grid-template-columns:minmax(0,1.5fr) minmax(300px,.85fr)}
.eval-question-card{padding:22px;margin-bottom:14px;border:1px solid #e8dff7}
.eval-question-card .question-head{margin-bottom:16px}.eval-question-card .question-head strong{font-size:15px}
.eval-question-card .eval-choice-field[hidden],.add-question .eval-choice-field[hidden]{display:none!important}
.eval-question-actions{margin-top:7px;justify-content:space-between;align-items:center}.eval-delete-form{margin-top:10px;padding-top:10px;border-top:1px dashed #eae3f7;text-align:right}.eval-delete-form button{border:0;background:transparent;cursor:pointer}
.eval-question-readonly{display:flex;gap:7px;flex-wrap:wrap;font-size:12px;color:#817893}.eval-question-readonly span{padding:5px 9px;border-radius:8px;background:#f8f5fd}
.eval-sidebar{display:grid;gap:15px;align-self:start}.eval-sidebar .panel{padding:20px}.eval-sidebar .add-question{position:static}.eval-sidebar .add-question h2,.eval-sidebar .eval-template-panel h2,.eval-sidebar .eval-preview-panel h2{font-size:18px;margin:0 0 8px}
.eval-template-panel{background:linear-gradient(120deg,#fff,#fbf8ff)}.eval-preview-panel{background:linear-gradient(160deg,#fff,#fbfaff)}
.eval-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:5px}
.eval-preview-question{padding:12px 0;border-top:1px solid #ede7f7}.eval-preview-question strong{display:block;font-size:13px;margin-bottom:10px}
.eval-preview-rating{display:flex;gap:7px;flex-wrap:wrap}.eval-preview-rating span{width:35px;height:34px;display:grid;place-items:center;background:#f6f1fe;color:#7955b6;border:1px solid #e2d4fa;border-radius:10px}
.eval-preview-choices{display:grid;gap:6px;color:#6b607d}.eval-preview-choices span{padding:8px;border-radius:9px;background:#f8f5fd;border:1px solid #efe6fa;font-size:12px}
.eval-preview-input{border:1px solid #e6dff0;color:#9e91ad;border-radius:9px;padding:10px;font-size:12px}
.eval-lock-note{background:#fff8e7;border:1px solid #f7e5b5;color:#83672d}
.eval-event-setting{justify-content:flex-start;align-items:center;min-height:104px}.eval-event-setting .link{display:inline-block;margin-top:9px}
.eval-optional-banner{max-width:1122px;margin:0 auto 17px;padding:18px 22px;display:flex;justify-content:space-between;gap:18px;align-items:center;background:linear-gradient(120deg,#fff,#f6eeff)}
.eval-optional-banner strong{color:#7444b8}.eval-optional-banner p{margin:4px 0 0;font-size:12px}
.eval-public-intro{border-left:3px solid #9767e0;padding:12px 16px;border-radius:0 12px 12px 0;background:#faf6ff;color:#51486b;margin:15px 0}
@media(max-width:950px){.evaluation-modes{grid-template-columns:1fr}.eval-mode-content{min-height:105px;padding:13px 15px}.eval-mode>input:checked+.eval-mode-content{padding:12.5px 14.5px}.eval-mode-icon{margin-bottom:0}.eval-builder-grid{grid-template-columns:1fr}.eval-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.eval-preview-panel{grid-column:1/-1}}
@media(max-width:650px){.eval-stats{grid-template-columns:1fr 1fr}.eval-sidebar{grid-template-columns:1fr}.eval-preview-panel{grid-column:auto}.eval-optional-banner{flex-direction:column;align-items:stretch}.eval-optional-banner .btn{width:100%}.eval-question-card .question-head{flex-wrap:wrap}.eval-question-card .question-head strong{min-width:calc(100% - 42px)}.eval-question-card .question-head .small-tag{margin-left:40px}.eval-policy-panel{padding:18px}.eval-page-title .actions{width:100%}.eval-page-title .actions .btn{flex:1}}
