/* Only small scoped additions; all product styling is loaded from existing public assets. */
.inplace-preview-note{font-size:12px;color:#7d6e68}.inplace-preview-links{display:flex;gap:10px;align-items:center}.inplace-preview-links a{font-size:12px;color:inherit}.inplace-measure{padding:16px;border:1px solid #e3d6cf;background:#faf8f6;margin:16px 0 24px}.inplace-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.inplace-unit{font-size:13px;color:#8d5729}.inplace-account-dialog{display:grid!important;grid-template-columns:1fr 1fr;gap:14px 20px;width:min(720px,94vw)!important}.inplace-account-dialog>h2,.inplace-account-dialog>.overline,.inplace-account-dialog>.binding-help,.inplace-account-dialog>footer{grid-column:1/-1}.inplace-account-dialog>label{margin:0!important}.inplace-quick{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;align-items:center;margin-bottom:16px}.inplace-quick button{padding:7px 10px;font-size:13px;min-height:36px}.inplace-approval{display:grid;grid-template-columns:100px 1fr 1fr;gap:8px 14px;margin:14px 0}.inplace-approval span{padding:9px;background:#f7f2ef;overflow-wrap:anywhere}.inplace-approval .proposed{background:#f9ecec;color:#8e2026}.inplace-approval small{color:#897b74}.inplace-watermark{position:fixed;inset:100px 0 0;pointer-events:none;z-index:20000;display:flex;flex-direction:column;align-items:center;justify-content:space-around;overflow:hidden}.inplace-watermark span{color:#985e6510;transform:rotate(-23deg);font-size:22px;letter-spacing:5px}
@media(max-width:640px){.inplace-account-dialog{gap:12px!important;padding:22px!important}.inplace-preview-links{gap:6px;flex-wrap:wrap}.inplace-preview-links a{font-size:10px}.inplace-approval{grid-template-columns:64px 1fr 1fr;gap:6px;font-size:12px}.inplace-quick{justify-content:stretch;flex-wrap:nowrap}.inplace-quick button{flex:1;padding:7px 4px;font-size:12px}.inplace-grid{gap:10px}}
.inplace-measure .panel-title{margin:0 0 10px}.inplace-measure h3{margin:0}.inplace-measure p{margin:10px 0}.inplace-measure [data-save-measure],.inplace-measure [data-confirm-measure]{border:1px solid #d9c7bd;background:white;color:#8e2026;border-radius:8px;padding:9px 14px;font:inherit;font-size:13px;cursor:pointer}.inplace-measure [data-measure-feedback]:empty{display:none}
/* Compact profile actions, using the existing portal burgundy and warm border. */
.student-profile-dialog>header[data-quick]{display:grid;grid-template-columns:minmax(210px,1fr) auto;align-items:center;column-gap:20px;row-gap:3px;padding-right:38px;margin-bottom:18px}.student-profile-dialog>header[data-quick]>.overline{grid-column:1;margin:0;font-size:12px;letter-spacing:1px}.student-profile-dialog>header[data-quick]>h2{grid-column:1;margin:0;font-size:24px;line-height:1.4}.student-profile-dialog>header[data-quick]>.inplace-quick{grid-column:2;grid-row:1/3;display:grid;grid-template-columns:repeat(4,auto);gap:7px;margin:0;align-items:center}.inplace-quick button{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;word-break:keep-all;border:1px solid #e1d5d0;border-radius:7px;box-shadow:none;background:#fff;color:#655650;font-family:inherit;font-size:13px;font-weight:600;line-height:1;height:36px;min-height:36px;padding:0 11px;margin:0;cursor:pointer}.inplace-quick button:first-child{color:#98242a;background:#fbf1f1;border-color:#e3c5c7}.inplace-quick button:hover{background:#f7f2ef;border-color:#bda6a0;color:#8e2026}.inplace-quick button:focus-visible{outline:2px solid #98242a;outline-offset:3px}.student-profile-dialog>.student-profile-close{appearance:none;border:0;background:transparent;box-shadow:none;border-radius:5px;right:14px;top:14px;width:30px;height:30px;padding:0;display:grid;place-items:center;line-height:1;font-size:27px;color:#7b6b64}
@media(max-width:900px){.student-profile-dialog>header[data-quick]{grid-template-columns:1fr;padding-right:0;gap:3px;margin-bottom:16px}.student-profile-dialog>header[data-quick]>h2{font-size:22px;padding-right:28px}.student-profile-dialog>header[data-quick]>.inplace-quick{grid-column:1;grid-row:3;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:12px}.inplace-quick button{width:100%;min-width:0;font-size:12px;padding:0 4px;height:36px;min-height:36px}}
.address-field-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}.address-pick-trigger{appearance:none;border:1px solid #ddc9c8;background:#fff;color:#98242a;border-radius:7px;padding:7px 11px;font:inherit;font-size:13px;white-space:nowrap;cursor:pointer}.address-location-state{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12px;line-height:1.6;color:#81746c;margin:8px 0 18px}.address-location-ok{color:#3c7353}.address-location-pending{color:#9a602b}.address-picker-layer{z-index:22000!important}.address-picker-layer>.address-picker-dialog{width:min(760px,94vw);max-width:760px;padding:24px;display:flex;flex-direction:column;max-height:94dvh;overflow:hidden}.address-picker-dialog>h2{margin:4px 0 15px}.address-picker-dialog>.overline{margin:0}.address-search{display:flex!important;flex-direction:row!important;gap:8px;align-items:stretch}.address-search input{min-width:0;flex:1;margin:0!important}.address-search button{appearance:none;border:1px solid #ddcfc6;border-radius:7px;background:white;padding:9px 12px;color:#755851;font:inherit;font-size:13px;white-space:nowrap}.address-map-demo{font-size:11px;color:#89796e;margin:9px 0!important;line-height:1.5}.address-map{position:relative;min-height:180px;height:265px;flex-shrink:0;border:1px solid #e0d8ce;border-radius:6px;overflow:hidden;touch-action:none;cursor:grab}.address-map:active{cursor:grabbing}.address-map:focus-visible{outline:2px solid #98242a;outline-offset:2px}.address-map svg{width:100%;height:100%;display:block;user-select:none;pointer-events:auto}.address-center-pin{position:absolute;left:50%;top:50%;width:22px;height:30px;transform:translate(-50%,-100%);pointer-events:none;filter:drop-shadow(0 2px 2px #0003)}.address-center-pin:before{content:'';position:absolute;width:20px;height:20px;background:#a32935;border:2px solid white;border-radius:50% 50% 50% 0;transform:rotate(-45deg);left:0;top:3px}.address-center-pin span{position:absolute;width:6px;height:6px;background:#fff;border-radius:50%;left:9px;top:10px}.address-map-tools{position:absolute;right:10px;bottom:12px;display:grid;gap:3px}.address-map-tools button{width:32px;height:32px;border:1px solid #d4c9bf;border-radius:4px;background:white;font-size:20px;color:#705b52;cursor:pointer}.address-map-tip{position:absolute;bottom:10px;left:10px;font-size:11px;background:#ffffffdd;color:#7e7065;padding:3px 7px;border-radius:3px;pointer-events:none}.address-map-bottom{min-height:0;display:flex;flex-direction:column;overflow:hidden}.address-results{overflow:auto;max-height:158px;min-height:70px;margin-top:5px}.address-result{appearance:none;display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;border:0;border-bottom:1px solid #eee5df;background:#fff;padding:10px 4px;color:#554b45;cursor:pointer;font:inherit}.address-result b{display:block;font-size:13px;font-weight:600}.address-result small{display:block;font-size:11px;color:#8b7c73;margin-top:2px}.address-result-check{color:#aa8a81;margin:0 8px 0 12px}.address-result.selected{background:#fcf4f3}.address-result.selected .address-result-check{color:#98242a;font-weight:700}.address-picker-dialog .address-map-bottom>footer{position:static!important;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0 0;margin-top:0;border-top:1px solid #e7ddd5;background:white}.address-map-bottom footer b{display:block;font-size:13px}.address-map-bottom footer small{display:block;font-size:11px;color:#8b7c73;margin-top:3px}.address-map-bottom footer>button{white-space:nowrap;padding:10px 16px;border-radius:7px;flex-shrink:0}.address-map-bottom footer>button:disabled{opacity:.45;cursor:not-allowed}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:640px){.address-picker-layer>.address-picker-dialog{padding:18px;max-height:96dvh;width:calc(100vw - 20px)}.address-picker-dialog>h2{font-size:23px;margin-bottom:12px}.address-search{gap:6px}.address-search button{padding:8px;font-size:12px}.address-search input{font-size:13px}.address-map{height:230px;min-height:160px}.address-results{max-height:160px}.address-picker-dialog .address-map-bottom>footer{gap:9px;padding-top:12px}.address-map-bottom footer>button{padding:10px;font-size:13px}.address-map-bottom footer small{font-size:10px}.address-field-heading{margin-bottom:6px}}
@media(max-height:650px){.address-map{height:150px;min-height:120px}.address-results{max-height:95px}.address-picker-layer>.address-picker-dialog{padding-top:14px;padding-bottom:14px}}
.inplace-address-review{margin:14px 0;border-top:1px solid #e6dcd5;padding-top:12px;font-size:13px}.inplace-address-review summary{cursor:pointer;color:#8e2026;font-weight:600}.inplace-address-review p,.inplace-address-review small{font-size:12px;color:#8b7c73}.inplace-address-review .inplace-approval{grid-template-columns:70px 1fr 1fr}
#edit .guardian-edit-row{display:grid;grid-template-columns:minmax(70px,.7fr) minmax(90px,1fr) minmax(130px,1.4fr);gap:9px;margin:10px 0}#edit .guardian-edit-row input{width:100%;min-width:0;box-sizing:border-box}#edit [data-add-guardian]{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;border:1px solid #ddcec6;background:#fff;color:#8e2026;border-radius:7px;box-shadow:none;padding:8px 12px;font:inherit;font-size:13px;line-height:1.4;min-height:36px;cursor:pointer;margin-top:2px}#edit [data-add-guardian]:hover{background:#faf4f2;border-color:#c8a5a3}#edit [data-add-guardian]:focus-visible{outline:2px solid #98242a;outline-offset:2px}
@media(max-width:640px){#edit .guardian-edit-row{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:8px}#edit .guardian-edit-row [name=guardianPhone]{grid-column:1/-1}#edit [data-add-guardian]{font-size:13px;padding:8px 12px}}
.address-picker-layer .address-map-bottom{flex-shrink:0;overflow:visible}.address-picker-layer .address-map-bottom>footer{box-sizing:border-box!important;width:100%!important;max-width:100%!important;left:auto!important;right:auto!important;bottom:auto!important;transform:none!important;flex-shrink:0!important;overflow:visible!important}.address-picker-layer .address-map-bottom>footer>div{min-width:0;flex:1}.address-picker-layer .address-map-bottom>footer>div b,.address-picker-layer .address-map-bottom>footer>div small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.address-picker-layer .address-map-bottom>footer>button{width:auto!important;min-width:98px;max-width:45%;height:40px;margin:0!important}.address-picker-layer>.address-picker-dialog{overflow-y:auto}.address-picker-layer .address-results{flex-shrink:1}.address-picker-layer .address-map-bottom>footer{gap:10px!important;padding:12px 0 0!important}
.address-picker-layer .address-map-bottom>footer{margin:0!important}.address-picker-layer .address-map-bottom{padding-bottom:2px}
/* Compact existing profile editor without shrinking readable input text. */
#edit>section{padding:22px!important;width:min(640px,94vw)!important;max-width:640px!important}#edit>section>.overline{margin:0 0 4px!important;font-size:11px}#edit>section>h2{margin:0 0 14px!important;font-size:23px}#edit>section>h3{font-size:15px;margin:14px 0 5px!important}#edit>section>h3 small{font-size:11px;color:#8a786f;font-weight:400;margin-left:7px}#edit>section>p{font-size:12px;line-height:1.5;margin:5px 0 12px!important}#edit .inplace-measure{padding:12px;margin:0 0 14px}#edit .inplace-measure .panel-title{margin:0 0 6px!important;display:flex;justify-content:space-between;align-items:center}#edit .inplace-measure h3{font-size:15px}#edit .inplace-measure p{font-size:12px;margin:6px 0!important}#edit .inplace-measure .inplace-grid{gap:12px}#edit .inplace-measure label{font-size:12px;margin:0!important;gap:5px}#edit .inplace-measure input{margin:0!important;padding:8px 10px!important;min-height:38px!important;height:38px}#edit .inplace-measure [data-save-measure]{padding:7px 12px;min-height:34px;margin-top:3px}#edit>section>form{display:grid;grid-template-columns:1fr 1fr;gap:11px 14px}#edit>section>form>label{margin:0!important;font-size:12px;gap:5px}#edit>section>form>label:has([name=residentialAddress]),#edit>section>form>label:has([name=addressDetail]),#edit>section>form>label:has([name=reason]),#edit>section>form>div,#edit>section>form>p,#edit>section>form>footer{grid-column:1/-1}#edit>section>form>label:has([name=phone]){grid-column:1/-1}#edit>section>form input{padding:8px 10px!important;margin:0!important;min-height:38px!important;font-size:14px}#edit>section>form textarea{padding:8px 10px!important;margin:0!important;min-height:56px!important;height:56px;font-size:14px}#edit .address-field-heading{margin:0;min-height:30px}#edit .address-pick-trigger{padding:5px 9px;font-size:12px;min-height:30px}#edit .address-location-state{margin:-5px 0 0!important;font-size:11px;line-height:1.5;gap:3px 8px}#edit .guardian-edit-row{margin:7px 0!important;gap:7px}#edit [data-add-guardian]{font-size:12px;padding:6px 10px;min-height:32px;margin:0}#edit form>div>b{font-size:13px}#edit form>footer{margin:3px 0 0!important;padding:12px 0 0!important;gap:8px;border-top:1px solid #e4d9d3}#edit form>footer button{font-size:13px;padding:9px 13px;min-height:38px}.address-picker-layer .address-search{gap:6px}.address-picker-layer .address-map{height:220px}.address-picker-layer .address-results{max-height:130px}.address-picker-layer .address-result{padding:8px 4px}.address-picker-layer>.address-picker-dialog{padding:20px}.address-picker-layer .address-map-demo{margin:6px 0!important}
@media(max-width:640px){#edit>section{padding:18px!important;width:calc(100vw - 20px)!important}#edit>section>h2{font-size:22px;margin-bottom:12px!important}#edit>section>form{gap:10px}#edit .inplace-measure{padding:11px;margin-bottom:12px}#edit .inplace-measure .panel-title small{font-size:10px}#edit .guardian-edit-row{grid-template-columns:72px minmax(0,1fr)!important}#edit .guardian-edit-row [name=guardianPhone]{grid-column:1/-1}#edit>section>form>footer{position:sticky!important;bottom:-18px!important;background:white;margin:0 -18px -18px!important;padding:10px 18px!important;width:calc(100% + 36px)!important}#edit .address-field-heading{min-height:28px}#edit .address-pick-trigger{min-height:28px}.address-picker-layer>.address-picker-dialog{padding:16px}.address-picker-layer .address-map{height:190px;min-height:150px}.address-picker-layer .address-results{max-height:132px}.address-picker-layer .address-map-bottom>footer{padding-top:10px!important}}
#edit form>footer>button{appearance:none;-webkit-appearance:none;border:1px solid #dacbc2;border-radius:7px;background:#fff;color:#68554c;font-family:inherit;line-height:1.4;box-shadow:none;cursor:pointer}#edit form>footer>button.primary{background:#98242a;border-color:#98242a;color:white}#edit .inplace-measure:after{content:'';display:block;clear:both}#edit .inplace-measure .inplace-unit{display:inline-block;max-width:calc(100% - 112px);vertical-align:middle;font-size:11px;line-height:1.6}#edit .inplace-measure [data-save-measure]{float:right;margin-top:6px;font-size:12px;min-height:32px;padding:6px 9px}#edit .inplace-measure [data-measure-feedback]{clear:both}

.real-change-row{display:grid;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);gap:9px;align-items:start;margin:8px 0;font-size:13px;line-height:1.6}.real-change-row>span{padding:8px 10px;background:#f7f3ef;overflow-wrap:anywhere}.real-change-row>b{padding:8px 10px;background:#fbefef;color:#8e2026;font-weight:500;overflow-wrap:anywhere}.real-change-row>i{font-style:normal;align-self:center;color:#9d8b82}
.real-quick-form{width:min(600px,94vw)!important}.real-quick-form .inplace-grid label{min-width:0}.real-common-reasons{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.real-common-reasons button{border:1px solid #decdc5;border-radius:6px;background:white;color:#785d54;font:inherit;font-size:12px;padding:6px 9px}.real-quick-form [data-quick-result]{font-size:12px;color:#8d632d;line-height:1.6}

.inplace-account-dialog>label{align-self:stretch!important;display:flex!important;flex-direction:column;justify-content:flex-end;gap:6px}.inplace-account-dialog>label>input,.inplace-account-dialog>label>select{height:42px!important;min-height:42px!important;max-height:42px!important;margin:0!important;box-sizing:border-box}
.local-flow{--local-line:#dce2e8;padding:16px!important;margin:12px 0!important;text-align:left}.local-flow>header,.local-item-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.local-flow h2{font-size:18px!important;margin:0!important}.local-flow h2 small{font-size:12px;color:#687787;font-weight:400}.local-flow button{min-height:36px!important;padding:6px 12px!important;font-size:14px!important;white-space:nowrap;border:1px solid var(--local-line);border-radius:7px;background:white;color:#293747}.local-flow button.primary,.local-filters .active{background:#ad2339;color:white;border-color:#ad2339}.local-filters{display:flex;gap:8px;margin:14px 0}.local-item{padding:12px 0;border-top:1px solid var(--local-line)}.local-item p{margin:8px 0;font-size:14px}.local-item small{font-size:12px;color:#647385;display:block}.local-item-head span{font-size:12px;white-space:nowrap;color:#ad2339}.local-review-fields{display:flex;gap:10px;margin-top:10px}.local-review-fields label{flex:1;min-width:0;font-size:13px}.local-review-fields input,.local-review-fields select{width:100%;height:38px;min-height:38px!important;padding:6px 10px;box-sizing:border-box}.local-item footer{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}.local-item details{margin:10px 0;font-size:13px}.local-item img{max-width:100%;max-height:190px;object-fit:cover;border-radius:6px}.student-profile-dialog>.local-flow{margin:12px 24px!important}.local-item-head b{min-width:0;overflow-wrap:anywhere}
.local-flow button{background:#fff!important;color:#293747!important;border:1px solid #dce2e8!important}.local-flow button.primary,.local-flow .local-filters button.active{background:#ad2339!important;color:#fff!important;border-color:#ad2339!important}.local-flow button:disabled{opacity:.55}.local-flow button:focus-visible{outline:2px solid #ad2339;outline-offset:2px}.address-map{touch-action:none}/* Shared geometry for the two student-profile quick forms. */
form.real-quick-form{display:flex!important;flex-direction:column;gap:14px;padding:24px!important;box-sizing:border-box;max-height:92dvh;overflow-y:auto}
.real-quick-form>.overline{margin:0!important;padding-right:32px;font-size:12px;line-height:18px}
.real-quick-form>h2{margin:0!important;font-size:23px;line-height:30px}
.real-quick-form>.binding-help{margin:0!important;padding:10px 12px;background:#f6f7f9;color:#596574;line-height:1.6;font-size:13px}
.real-quick-form>.binding-help b{font-weight:650;color:#344151}
.real-quick-form .inplace-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0!important;align-items:start}
.real-quick-form label,.real-quick-form .inplace-grid label{display:flex!important;flex-direction:column;justify-content:flex-start;gap:6px;margin:0!important;min-width:0;font-size:14px;line-height:20px}
.real-quick-form :is(input,select){display:block;width:100%;min-width:0;height:42px!important;min-height:42px!important;max-height:42px;box-sizing:border-box;margin:0!important;padding:9px 11px!important;border:1px solid #d8dee5;border-radius:8px;background:#fff;color:#263444;font-family:inherit;font-size:14px;line-height:22px}
.real-quick-form textarea{display:block;width:100%;min-width:0;box-sizing:border-box;margin:0!important;padding:10px 11px!important;min-height:82px!important;height:82px;border:1px solid #d8dee5;border-radius:8px;font-family:inherit;font-size:14px;line-height:22px;resize:vertical}
.real-quick-form .real-common-reasons{display:flex;flex-wrap:wrap;gap:7px;margin:0!important;align-items:center}
.real-quick-form .real-common-reasons button{display:inline-flex;align-items:center;justify-content:center;height:36px!important;min-height:36px!important;box-sizing:border-box;margin:0!important;padding:6px 10px!important;font-size:13px;line-height:22px}
.real-quick-form>[data-quick-result]{margin:0!important;padding:0;font-size:13px;line-height:20px}
.real-quick-form>[data-quick-result]:empty{display:none}
.real-quick-form>footer{display:flex!important;justify-content:flex-end;align-items:center;gap:8px;margin:0!important;padding:14px 0 0!important;border-top:1px solid #e3e7ec}
.real-quick-form>footer button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:42px!important;min-height:42px!important;min-width:88px;margin:0!important;padding:9px 16px!important;font-size:14px;line-height:22px}
@media(max-width:480px){form.real-quick-form{padding:18px!important;gap:12px}.real-quick-form .inplace-grid{gap:10px}.real-quick-form[data-kind="discipline"] .inplace-grid{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}.real-quick-form input[type="datetime-local"]{font-size:12px;padding:8px!important}.real-quick-form .binding-help{font-size:12px}.real-quick-form>footer button{flex:1;min-width:0}.real-quick-form>h2{font-size:22px}}
