.template-step{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:15px;background:#fff0f7}
.template-step>span{display:grid;place-items:center;flex:0 0 29px;height:29px;border-radius:50%;background:#ff0093;color:#fff;font-weight:900}
.template-step>div{display:grid;gap:2px}
.template-step strong{font-size:12px}
.template-step small{color:#7a6370;font-size:9px}
.template-fine-tune{border:1px solid #efdce5;border-radius:15px;background:#fff}
.template-fine-tune summary{padding:13px 14px;color:#b60066;font-size:11px;font-weight:900;cursor:pointer}
.template-fine-tune summary small{margin-left:4px;color:#8e7883;font-weight:600}
.template-fine-tune>div{display:grid;gap:10px;padding:0 14px 14px}
.template-fine-tune label{display:grid;grid-template-columns:110px minmax(0,1fr) 42px;align-items:center;gap:10px;margin:0;font-size:9px;font-weight:800}
.template-fine-tune input[type=range]{width:100%;accent-color:#ff0093}
.template-fine-tune output{text-align:right;color:#d00072;font-weight:900}
.template-sub-controls{padding-top:14px}
.template-enter-hint{margin-top:-2px;color:#8e7883;font-size:10px}
.template-canvas-tip{display:grid;gap:2px;padding:11px 13px;border:1px solid #ffadd3;border-radius:13px;background:#fff0f7;color:#8e0050}
.template-canvas-tip strong{font-size:11px}
.template-canvas-tip span{font-size:10px;color:#785565}
.template-line-controls{display:grid;gap:7px;margin-top:-8px;padding:10px;border:1px solid #f0dce5;border-radius:14px;background:#fff8fb}
.template-line-controls label{display:grid;grid-template-columns:78px minmax(0,1fr) 48px;align-items:center;gap:9px;margin:0;color:#594850;font-size:10px;font-weight:800}
.template-line-controls input[type=range]{width:100%;accent-color:#ff0093}
.template-line-controls output{text-align:right;color:#d00072;font-weight:900}
.template-spacing-only{margin-top:0}
.template-photo-help{display:grid;gap:3px;padding:10px 11px;border-radius:12px;background:#fff0f7;color:#8e0050}
.template-photo-help strong{font-size:10px}
.template-photo-help span{font-size:9px;line-height:1.45;color:#785565}
.template-workflow-guide{display:grid;grid-template-columns:30px minmax(0,1fr) auto 30px minmax(0,1fr);align-items:center;gap:9px;padding:14px;border:1px solid #ffadd3;border-radius:16px;background:linear-gradient(135deg,#fff0f7,#fff)}
.template-workflow-guide>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#ff0093;color:#fff;font-weight:900}
.template-workflow-guide>div{display:grid;gap:3px}
.template-workflow-guide strong{font-size:10px}
.template-workflow-guide small{font-size:9px;line-height:1.4;color:#765e69}
.template-workflow-guide>b{color:#ff0093}
.template-toolbar-hint{margin-left:auto;color:#8e0050;font-size:9px;font-weight:800}
.template-image-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.template-image-actions .template-upload{margin:0}
.template-flip-button{min-height:46px;padding:10px 13px;white-space:nowrap}
.freshers-editor .template-controls textarea{min-height:150px}
.freshers-editor .template-canvas-wrap{background:#2b2227}
.template-studio{display:grid;gap:20px}
.template-studio-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding:26px;border:1px solid #efccd9;border-radius:26px;background:linear-gradient(130deg,#f6b1c0,#ffe7ed)}
.template-studio-hero h2{margin:5px 0 6px;font-size:31px}
.template-studio-hero p{max-width:720px;margin:0;color:#633846}
.template-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.template-choice{display:grid;grid-template-columns:180px minmax(0,1fr);align-items:center;gap:18px;padding:16px;border:1px solid #ead7df;border-radius:22px;background:#fff;text-align:left;box-shadow:0 8px 24px rgba(75,35,52,.06)}
.template-choice:hover{border-color:#ff65b0;transform:translateY(-2px)}
.template-choice>span:last-child{display:grid;gap:6px}
.template-choice>span:last-child>strong{font-size:19px}
.template-choice>span:last-child>small{color:#7c6972;line-height:1.45}
.template-preview{position:relative;display:block;width:180px;aspect-ratio:4/5;overflow:hidden;border-radius:15px;background:#f5edf0}
.template-studio-note,.template-locked-note{display:flex;gap:10px;align-items:center;padding:14px 16px;border-radius:15px;background:#111;color:#fff}
.template-studio-note span,.template-locked-note span{color:#f1cddc;font-size:12px}
.template-editor{margin-top:20px;padding:22px;border:1px solid #ead7df;border-radius:25px;background:#fff;box-shadow:var(--shadow)}
.template-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}
.template-editor-head h2{margin:5px 0}
.template-editor-head p{margin:0}
.template-editor-grid{display:grid;grid-template-columns:minmax(280px,390px) minmax(0,1fr);gap:26px;align-items:start}
.template-controls{display:grid;gap:16px}
.template-controls>label{display:grid;gap:7px;margin:0}
.template-controls textarea{min-height:100px;resize:vertical}
.template-image-control{display:grid;gap:12px;margin:0;padding:15px;border:1px solid #eddce4;border-radius:17px}
.template-image-control legend{padding:0 7px;font-weight:900}
.template-image-control>label{display:grid;grid-template-columns:105px 1fr;align-items:center;gap:10px;margin:0;font-size:11px;font-weight:800}
.template-upload{display:flex!important;grid-template-columns:none!important;justify-content:center!important;min-height:46px;padding:12px;border-radius:12px;background:#fff0f7;color:#b60066;cursor:pointer}
.template-upload input{position:absolute;width:1px;height:1px;opacity:0}
.template-image-control input[type=range]{width:100%;accent-color:#ff0093}
.template-canvas-side{display:grid;justify-items:center;gap:12px}
.template-canvas-wrap{display:grid;place-items:center;width:min(100%,560px);padding:13px;border-radius:20px;background:#f3e9ed}
.template-canvas-wrap canvas{display:block;width:100%;height:auto;max-height:70vh;object-fit:contain;touch-action:none;background:#fff;box-shadow:0 10px 30px rgba(37,20,28,.15)}
.template-editor-actions{display:flex;gap:9px;width:min(100%,560px)}
.template-editor-actions button{flex:1}
.template-canvas-side>small{color:#88747e}
.template-locked-note{display:grid;gap:3px;align-items:start}
.template-locked-note strong{color:#ff70b6}
@media (max-width:800px){.template-gallery{grid-template-columns:1fr}
.template-editor-grid{grid-template-columns:1fr}
.template-canvas-side{order:-1}
.template-canvas-wrap{width:min(100%,420px)}
.template-studio-hero{align-items:flex-start;flex-direction:column}
.template-studio-note{align-items:flex-start;flex-direction:column}}
@media (max-width:520px){.template-choice{grid-template-columns:108px minmax(0,1fr);gap:12px;padding:12px}
.template-preview{width:108px}
.template-editor{margin:14px -8px 0;padding:14px;border-radius:20px}
.template-editor-head p{font-size:12px}
.template-canvas-wrap{padding:8px;border-radius:14px}
.template-editor-actions{position:sticky;bottom:82px;z-index:3;padding:8px;border-radius:15px;background:rgba(255,255,255,.94);box-shadow:0 8px 24px rgba(50,20,35,.12)}}
@media (max-width:520px){.template-workflow-guide{grid-template-columns:30px minmax(0,1fr);align-items:start}
.template-workflow-guide>b{display:none}
.template-toolbar-hint{width:100%;order:3;margin:0}}
@media (max-width:520px){.template-image-actions{grid-template-columns:1fr}
.template-flip-button{width:100%}}
.template-canvas-toolbar{display:flex;align-items:center;gap:8px;width:min(100%,560px);min-height:48px;padding:7px 9px;border:1px solid #ecd7e1;border-radius:14px;background:#fff;box-shadow:0 6px 18px rgba(45,20,32,.08)}
.template-canvas-toolbar>strong{min-width:0;margin-right:auto;overflow:hidden;color:#3c2d34;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.template-canvas-toolbar label{display:flex;align-items:center;gap:5px;margin:0;color:#725d67;font-size:9px;font-weight:800}
.template-canvas-toolbar input{width:62px!important;height:34px!important;min-height:34px!important;padding:5px 7px!important;border-radius:9px!important}
.template-canvas-toolbar button{min-height:34px;padding:7px 10px;font-size:10px}
.template-canvas-toolbar button:disabled{opacity:.42;cursor:not-allowed}
@media (max-width:520px){.template-canvas-toolbar{position:sticky;top:6px;z-index:4;flex-wrap:wrap}
.template-canvas-toolbar>strong{flex:1 1 120px}
.template-canvas-toolbar button{flex:1}}
@media (max-width:900px){.template-editor .template-editor-actions{position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:100%;margin:16px 0 0;box-shadow:none;display:flex;flex-wrap:wrap}
.template-editor .template-editor-actions button{flex:1 1 160px;min-height:46px;font-size:13px}
.template-editor .template-canvas-side{padding-bottom:12px!important}}
@media (max-width:900px){.template-editor .template-canvas-toolbar{display:flex!important;flex-wrap:wrap!important;align-items:center;gap:8px;padding:12px!important;width:100%;max-width:100%;min-width:0}
.template-editor .template-canvas-toolbar>strong{flex:1 0 100%;min-width:0;max-width:100%;font-size:12px;white-space:normal;overflow-wrap:anywhere;line-height:1.45}
.template-editor .template-canvas-toolbar>button{flex:1 1 85px;width:auto!important;min-width:80px!important;min-height:40px;height:auto!important;max-width:100%;border-radius:12px;padding:9px 10px!important;font-size:11px!important;white-space:normal;word-break:normal;overflow-wrap:normal;line-height:1.3}
.template-editor .template-canvas-toolbar>label{flex:1 1 90px;min-width:0;margin:0}
.template-editor .template-toolbar-hint{flex:1 0 100%;font-size:11px}
.template-editor .template-editor-head h2{font-size:clamp(25px,7vw,34px);line-height:1.15}
.template-editor .template-editor-head p{font-size:13px;line-height:1.55}}
.hub-ui #content .hero,.hub-ui .spaces-directory-hero,.hub-ui .communities-directory-hero,.hub-ui .partner-board-hero,.hub-ui .template-studio-hero{background:#fff0f7;color:#111;border-color:#eee3e9;box-shadow:none}
.hub-brand-view .hub-ui #content>.hero,
.hub-brand-view .hub-ui #content>section>.hero,
.hub-brand-view .hub-ui .spaces-directory-hero,
.hub-brand-view .hub-ui .communities-directory-hero,
.hub-brand-view .hub-ui .partner-board-hero,
.hub-brand-view .hub-ui .template-studio-hero{
 background:#fff0f7;border:1px solid #eee3e9;border-radius:20px;box-shadow:none;padding:22px 24px;margin-bottom:24px;gap:20px;align-items:center
}
.hub-brand-view .hub-ui #content>.hero h2,
.hub-brand-view .hub-ui #content>section>.hero h2,
.hub-brand-view .hub-ui .spaces-directory-hero h2,
.hub-brand-view .hub-ui .communities-directory-hero h2,
.hub-brand-view .hub-ui .partner-board-hero h2,
.hub-brand-view .hub-ui .template-studio-hero h2{font:400 27px/1.2 Anton,sans-serif;letter-spacing:0;margin:0 0 8px;color:#111}
.hub-brand-view .hub-ui #content>.hero p,
.hub-brand-view .hub-ui #content>section>.hero p,
.hub-brand-view .hub-ui .spaces-directory-hero p,
.hub-brand-view .hub-ui .communities-directory-hero p,
.hub-brand-view .hub-ui .partner-board-hero p,
.hub-brand-view .hub-ui .template-studio-hero p{font:400 13px/1.65 Montserrat,sans-serif;color:#786b73;margin:0}
@media (max-width:900px){.hub-brand-view .hub-ui #content>.hero,
 .hub-brand-view .hub-ui #content>section>.hero,
 .hub-brand-view .hub-ui .spaces-directory-hero,
 .hub-brand-view .hub-ui .communities-directory-hero,
 .hub-brand-view .hub-ui .partner-board-hero,
 .hub-brand-view .hub-ui .template-studio-hero{padding:18px!important;gap:14px;align-items:stretch}}
.hub-brand-view .hub-ui #content .card:not(.chat-panel):not(.template-editor){border-color:#eee3e9;border-radius:18px;box-shadow:0 3px 17px #4f243206}
.hub-brand-view .hub-ui #content .card h2:not(:where(.template-editor *,.template-preview *,.freshers-editor *,.edit-course-launch *)){font:800 18px/1.4 Montserrat,sans-serif;letter-spacing:-.45px;color:#111}
.hub-brand-view .hub-ui .dashboard-welcome,
.hub-brand-view .hub-ui #content .hero,
.hub-brand-view .hub-ui .spaces-directory-hero,
.hub-brand-view .hub-ui .communities-directory-hero,
.hub-brand-view .hub-ui .partner-board-hero,
.hub-brand-view .hub-ui .template-studio-hero{background:var(--hub-banner-base) var(--hub-banner-art) center/cover no-repeat;border-color:var(--hub-banner-line)}
.hub-brand-view .hub-ui #content :is(.hero,.dashboard-welcome,.help-hero,.admin-centre-hero,.department-space-hero,.directory-hub-hero,.event-project-hero,.onboarding-hero,.partner-board-hero,.template-studio-hero,.launch-guide-entry){
 background:#ffeaf3 url("slide-assets/light-background.png") center/cover no-repeat!important;color:#111;border:0;border-radius:20px;box-shadow:none
}
.hub-brand-view .hub-ui #content :is(.hero,.help-hero,.admin-centre-hero,.department-space-hero,.directory-hub-hero,.event-project-hero,.onboarding-hero,.partner-board-hero,.template-studio-hero,.launch-guide-entry){padding:22px 24px;gap:20px;min-width:0}
.hub-brand-view .hub-ui #content :is(.hero,.help-hero,.admin-centre-hero,.department-space-hero,.directory-hub-hero,.event-project-hero,.onboarding-hero,.partner-board-hero,.template-studio-hero) h2{font:400 27px/1.2 Anton,sans-serif;letter-spacing:0;color:#ff0093;margin:0 0 8px}
.hub-brand-view .hub-ui #content :is(.hero,.help-hero,.admin-centre-hero,.department-space-hero,.directory-hub-hero,.event-project-hero,.onboarding-hero,.partner-board-hero,.template-studio-hero,.launch-guide-entry) :is(.eyebrow,.badge){display:block;width:fit-content;background:transparent;border:0;padding:0;margin:0 0 7px;font:400 27px/1.1 Anton,sans-serif;letter-spacing:0;color:#ff0093;box-shadow:none}
.hub-brand-view .hub-ui #content :is(.hero,.help-hero,.admin-centre-hero,.department-space-hero,.directory-hub-hero,.event-project-hero,.onboarding-hero,.partner-board-hero,.template-studio-hero):has(.eyebrow,.badge) h2{font:800 17px/1.4 Montserrat,sans-serif;color:#111;letter-spacing:-.3px;margin:7px 0 3px}
.hub-brand-view .hub-ui #content :is(.hero,.dashboard-welcome,.help-hero,.admin-centre-hero,.department-space-hero,.directory-hub-hero,.event-project-hero,.onboarding-hero,.partner-board-hero,.template-studio-hero,.launch-guide-entry) p{font:400 13px/1.6 Montserrat,sans-serif;color:#51414a;margin:3px 0 0}
.hub-brand-view .hub-ui #content :is(.hero,.help-hero,.admin-centre-hero,.department-space-hero,.directory-hub-hero,.event-project-hero,.onboarding-hero,.partner-board-hero,.template-studio-hero,.launch-guide-entry) :is(button,a).primary,
.hub-brand-view .hub-ui #content :is(.hero,.help-hero,.admin-centre-hero,.department-space-hero,.directory-hub-hero,.event-project-hero,.onboarding-hero,.partner-board-hero,.template-studio-hero,.launch-guide-entry) :is(button,a).secondary{background:#fff9;color:#ff0093;border-color:transparent;box-shadow:none}
@media (max-width:900px){.hub-brand-view .hub-ui #content :is(.hero,.help-hero,.admin-centre-hero,.department-space-hero,.directory-hub-hero,.event-project-hero,.onboarding-hero,.partner-board-hero,.template-studio-hero,.launch-guide-entry){padding:18px!important;gap:14px}
.hub-brand-view .hub-ui #content :is(.hero,.help-hero,.admin-centre-hero,.department-space-hero,.directory-hub-hero,.event-project-hero,.onboarding-hero,.partner-board-hero,.template-studio-hero,.launch-guide-entry) :is(.eyebrow,.badge){font-size:23px}}
.hub-brand-view .hub-ui .template-choice{min-width:0;color:#111;font-family:Montserrat,sans-serif}
.hub-brand-view .hub-ui .template-choice>span:last-child{min-width:0}
.hub-brand-view .hub-ui .template-choice>span:last-child>strong{font:800 17px/1.4 Montserrat,sans-serif;color:#111;overflow-wrap:break-word}
.hub-brand-view .hub-ui .template-choice>span:last-child>small{font:400 13px/1.6 Montserrat,sans-serif;color:#786b73}
@media (max-width:900px){.hub-brand-view .hub-ui .template-gallery{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.hub-brand-view .hub-ui .template-choice{grid-template-columns:100px minmax(0,1fr);align-items:center;gap:14px;padding:14px;width:100%;max-width:100%}
.hub-brand-view .hub-ui .template-choice .template-preview{width:100%;min-width:0}
.hub-brand-view .hub-ui .template-choice>span:last-child>strong{font-size:15px}
.hub-brand-view .hub-ui .template-choice>span:last-child>small{font-size:12px}}
@media (max-width:360px){.hub-brand-view .hub-ui .template-choice{grid-template-columns:82px minmax(0,1fr);gap:12px;padding:12px}}
.template-project-bar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;background:#fff0f7;border:1px solid #f0c8dc;border-radius:18px;padding:16px;margin:0 0 20px}
.template-project-bar label{display:grid;gap:7px;flex:1 1 240px;min-width:0;font:600 12px/1.5 Montserrat,sans-serif}
.template-project-bar input{width:100%;min-height:44px;border:1px solid #e7cedb;border-radius:12px;background:#fff;padding:10px 12px;font:500 14px Montserrat,sans-serif}
.template-project-bar button{min-height:44px;white-space:normal}
.template-project-bar small{flex-basis:100%;font:12px/1.6 Montserrat,sans-serif;color:#775467}
.template-saved-entry{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:20px 0;font:12px/1.6 Montserrat,sans-serif}
.template-project-dialog{width:min(620px,calc(100% - 32px));max-height:85dvh;overflow:auto;border:1px solid #f0c8dc;border-radius:24px;padding:24px;background:#fffdfd;color:#21171d}
.template-project-dialog::backdrop{background:#24151e88}
.template-project-dialog h2{font:28px Anton,sans-serif;margin:6px 0}
.template-project-dialog p{font:13px/1.7 Montserrat,sans-serif}
.template-saved-design{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 16px;text-align:left;width:100%;padding:16px;margin-bottom:10px;border:1px solid #f0d5e3;border-radius:16px;background:#fff7fb;color:#21171d;font:13px/1.5 Montserrat,sans-serif;min-height:76px}
.template-saved-design strong{overflow-wrap:anywhere}
.template-saved-design small{grid-column:1;color:#806370}
.template-saved-design>span{grid-column:2;grid-row:1/3;align-self:center;color:#ff0093;font-weight:700}
@media (max-width:600px){.template-project-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.template-project-bar label,.template-project-bar small{grid-column:1/-1}
.template-project-bar button{width:100%;min-width:0;padding:12px}
.template-project-dialog{padding:18px}
.template-saved-design{grid-template-columns:minmax(0,1fr)}
.template-saved-design>span{grid-column:1;grid-row:auto}}


#contentComposer{min-width:0}#contentComposer .template-editor-head>.modal-close{display:none}#contentComposer .template-editor-actions{position:static!important}#contentComposer canvas{max-width:100%;height:auto;touch-action:none}#contentComposer .template-project-bar{min-width:0}#contentComposer button{min-height:44px;white-space:normal}#contentComposer input{font-size:16px}.template-project-dialog{max-width:min(700px,94vw);max-height:85dvh;overflow:auto;border:1px solid #efd9e3;border-radius:20px;padding:24px}.template-project-dialog::backdrop{background:#21171d88}@media(max-width:800px){#contentComposer .template-editor-grid{display:flex;flex-direction:column}#contentComposer .template-controls,#contentComposer .template-canvas-side{width:100%;min-width:0}#contentComposer .template-project-bar{display:flex;flex-wrap:wrap}#contentComposer .template-project-bar label{flex:1 1 100%}#contentComposer .template-canvas-toolbar{flex-wrap:wrap}}
