/* Source-frame template and investigation-note geometry; scoped to template screens. */
.template-screen .template-layout>aside{padding-top:25px}
.template-screen .template-heading{height:63px}
.template-screen .template-heading h1,.template-screen .template-layout>aside h2{font-weight:700}
.template-screen .template-heading h1{font-size:27px}
.template-screen .template-layout>aside h2{font-size:27px}
.template-screen .template-default{margin-top:11px;border:1px solid #e1e3e8!important}
.template-screen .template-default.active{background:#cedeFC!important}
.template-screen .template-layout hr{margin:36px 0 33px}
.template-screen .add-template{top:329px;right:0;font-size:18px!important;padding:12px 15px!important}
.template-screen .template-search{margin-top:31px;border-radius:5px;background:#fff}
.template-screen .template-provider{height:83px;padding:20px 23px;font-size:22px;border-radius:5px 5px 0 0}
.template-screen .template-provider>span{width:46px;height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center;padding:0;background:#f1f3f5}
.template-screen .template-type{min-height:83px;border-radius:0 0 3px 3px}
.template-screen .template-type>span{font-size:15px}
.template-screen .template-default span,.template-screen .template-type b{background:#edf5ff;border-radius:4px}
.template-screen .template-content{margin-top:22px;height:1058px;border-radius:22px 0 0 22px}
.template-screen .template-content>header{height:93px;padding:20px}
.template-screen .template-content>header .air-primary{background:#064bec!important;color:#fff!important;border-radius:6px;font-weight:700;font-size:18px!important;padding:12px 15px!important;margin-left:0;height:46px}
.template-screen .template-content>header>b{padding:10px 12px;border-radius:4px;background:#edf5ff;font-size:18px}
.template-screen .template-document{padding:84px 87px 84px 68px;height:874px}
.template-screen .template-document:before{content:'';position:absolute;left:61px;top:268px;width:1187px;height:597px;border:1px solid #efefef;border-radius:11px;pointer-events:none}
.template-screen .template-document>h2{font-weight:700;font-size:28px;margin-bottom:77px;line-height:44px;position:relative;margin-left:-6px;white-space:nowrap}
.template-screen .template-document>h2:first-child:before{content:'';position:absolute;left:-12px;top:1px;width:46px;height:46px;border-radius:10px;background:#f0f2f4;z-index:0;mix-blend-mode:multiply;pointer-events:none}
.template-screen .template-document>h2 button{background:#f0f2f4;border-radius:7px;width:83px;height:46px;margin-right:2px}
.template-screen .prompt-text{font-size:18px;line-height:26px;padding:3px 6px;color:#182750;background:#eaf2ff;border-color:#aec5e6;box-shadow:0 0 2px #c1d0e5}
.template-screen .template-document h3{font-size:18px;line-height:24px;font-weight:700;margin:68px 0 26px}
.template-screen .template-document h2:last-child{margin-top:100px}
.template-screen .template-content>footer{height:91px;padding:15px 20px;gap:16px}
.template-screen .template-content>footer .air-btn{padding:11px 18px;height:47px;background:#f1f3f5!important;border-radius:7px}
/* Notes footage uses a 7px wider sidebar gap and a shorter header. */
.template-screen:has(.investigation-copy) .template-layout{gap:39px}
.template-screen:has(.investigation-copy) .template-layout>aside{width:421px;padding-top:23px}
.template-screen:has(.investigation-copy) .template-heading{height:62px}
.template-screen:has(.investigation-copy) .template-layout hr{margin:36px 0 33px}
.template-screen:has(.investigation-copy) .add-template{top:325px}
.template-screen:has(.investigation-copy) .template-content{margin-top:20px;height:1055px;border-radius:15px 0 0 15px;margin-right:26px}
.template-screen:has(.investigation-copy) .template-content>header{height:83px}
.template-screen:has(.investigation-copy) .template-search{margin-top:30px}
.template-screen:has(.investigation-copy) .template-provider,.template-screen:has(.investigation-copy) .template-type{width:404px}
.template-screen:has(.investigation-copy) .template-type:first-of-type>span{background:transparent;padding:0}
.template-screen:has(.investigation-copy) .template-content>footer{height:97px;padding:15px 16px}
.template-screen .investigation-copy{padding:28px 22px;height:875px;font-size:18px;line-height:25.2px}
/* Measured source form-field baselines and sidebar card spacing. */
.template-screen .template-heading{height:62px}
.template-screen .template-heading h1{font-size:26px}
.template-screen .template-layout>aside h2{font-size:26px}
.template-screen .template-default{margin-top:10px}
.template-screen .template-search{margin-top:33px}
.template-screen .template-provider{margin-top:21px}
.template-screen .template-provider + .template-type:has(br){height:134px}
.template-screen .template-provider:not(:has(+.template-type)){height:62px}
.template-screen .template-content>header .air-primary{margin-left:-16px;width:274px}
.template-screen .template-document>h2:first-child{top:2px}
.template-screen .prompt-text{padding:2px 6px}
.template-screen .template-document h3{margin:68px 0 24px}
.template-screen .template-document h3:nth-of-type(2){margin-bottom:25px}
.template-screen:has(.investigation-copy) .template-layout{gap:41px}
.template-screen:has(.investigation-copy) .template-heading h1{font-size:25px}
.template-screen:has(.investigation-copy) .template-layout>aside h2{font-size:25.5px}
.template-screen:has(.investigation-copy) .template-default{margin-top:12px}
.template-screen:has(.investigation-copy) .template-search{margin-top:32px}
.template-screen:has(.investigation-copy) .template-provider{margin-top:21px}
.template-screen .investigation-copy{padding-top:29px;line-height:25.6px}
.template-screen{background:#f3f4fd}
.template-screen .investigation-copy .note-group-gap{display:block;height:18px}
.template-screen .prompt-text.source-focused{outline:none;border-color:#7d91bc;box-shadow:0 0 1px #7d91bc}
.template-screen .template-document h2:last-child{margin-top:94px}
