.template-tools-button{background:linear-gradient(135deg,#55d6be,#25a98f)!important;color:#061512!important;font-weight:800!important}.template-tools-button:hover,.template-tools-button.is-active{filter:brightness(1.12);box-shadow:0 0 0 2px rgba(85,214,190,.22)}
.template-mini--sequence-01{position:relative;display:block}.template-mini--sequence-01 i{position:absolute;width:10px;height:8px;background:#f5c84c;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)}.template-mini--sequence-01 i:nth-child(1){left:5px;top:5px}.template-mini--sequence-01 i:nth-child(2){left:22px;top:5px}.template-mini--sequence-01 i:nth-child(3){left:39px;top:5px}.template-mini--sequence-01 i:nth-child(4){left:13px;top:16px}.template-mini--sequence-01 i:nth-child(5){left:31px;top:16px}.template-mini--sequence-01 i:nth-child(6){left:13px;top:27px}.template-mini--sequence-01 i:nth-child(7){left:31px;top:27px}.template-mini--sequence-01 i:nth-child(8){left:5px;top:38px}.template-mini--sequence-01 i:nth-child(9){left:22px;top:38px}.template-mini--sequence-01 i:nth-child(10){left:39px;top:38px}
.template-panel{position:absolute;z-index:12;top:16px;left:16px;width:min(300px,calc(100% - 32px));box-sizing:border-box;padding:15px;border:1px solid rgba(85,214,190,.42);border-radius:15px;background:rgba(11,14,16,.96);color:#eef5f3;box-shadow:0 22px 70px rgba(0,0,0,.62);backdrop-filter:blur(16px)}.template-panel[hidden]{display:none}.template-panel__heading{display:flex;align-items:flex-start;justify-content:space-between}.template-panel h2{margin:2px 0 12px;font:600 27px 'Cormorant Garamond',serif}.template-panel__heading button{border:0;background:transparent;color:#89928f;font-size:25px;cursor:pointer}.template-card{display:flex;align-items:center;gap:12px;width:100%;padding:11px;border:1px solid #303936;border-radius:11px;background:#151a19;color:#e9f0ee;text-align:left;cursor:pointer}.template-card.is-active{border-color:#55d6be;background:#142522}.template-card strong,.template-card small{display:block}.template-card small{margin-top:3px;color:#8e9b98}.template-mini{display:grid;place-items:center;width:54px;height:50px;border-radius:9px;background:#0b0e0d;color:#f5c84c;font-size:11px;line-height:10px;letter-spacing:-2px;text-align:center}.template-mode,.template-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}.template-panel button{font-family:Inter,sans-serif}.template-mode button,.template-actions button,.template-cancel{min-height:36px;border:1px solid #34413e;border-radius:9px;background:#171c1b;color:#cfd8d5;cursor:pointer;font-weight:700}.template-mode button.is-active{border-color:#55d6be;background:#1b3b35;color:#a8f3e4}.template-panel p{margin:11px 2px;color:#87918e;font-size:11px;line-height:1.45}.template-cancel{width:100%;color:#ffaaa5}.is-template-mode{cursor:copy!important}
@media(max-width:720px){.template-tools-button{padding:0 9px!important}.template-panel{top:10px;left:10px;width:calc(100% - 20px)}}
.template-restriction-notice{position:absolute;z-index:16;left:50%;bottom:24px;transform:translateX(-50%);width:max-content;max-width:min(430px,calc(100% - 32px));box-sizing:border-box;padding:11px 15px;border:1px solid rgba(245,200,76,.58);border-radius:11px;background:rgba(24,20,10,.96);color:#ffe783;box-shadow:0 14px 38px rgba(0,0,0,.56);font:600 12px/1.45 Inter,sans-serif;text-align:center;pointer-events:none}.template-restriction-notice[hidden]{display:none}
@media(max-width:720px){.template-restriction-notice{bottom:14px;width:calc(100% - 28px);font-size:11px}}
