#atnoc.atnoc{font-family:inherit;color:#1c2940;max-width:1040px;margin:20px auto;border:1px solid #dde4ee;border-radius:18px;background:#fff;box-shadow:0 9px 30px rgba(31,52,80,.06);overflow:hidden;font-size:15px}#atnoc *{box-sizing:border-box}#atnoc .atnoc-hero{padding:25px 30px;background:linear-gradient(125deg,#123967,#235c96);color:#fff}#atnoc .atnoc-kicker{font-weight:700;letter-spacing:1.6px;font-size:11px;color:#c5e9ff}#atnoc .atnoc-hero h2{color:#fff!important;font-size:clamp(20px,3vw,29px)!important;line-height:1.25!important;margin:8px 0!important;border:0!important;padding:0!important}#atnoc .atnoc-hero p{color:#e5f1fd;margin:8px 0 0}#atnoc .atnoc-tabs{display:flex;overflow-x:auto;border-bottom:1px solid #dee6f1;background:#f7faff}#atnoc button.atnoc-tab{flex:1 0 auto;background:none;border:0;color:#50637e;border-bottom:3px solid transparent;border-radius:0;padding:15px 16px;cursor:pointer;font-size:14px;font-weight:650}#atnoc .atnoc-tab.is-active{color:#1761b5;border-bottom-color:#1761b5;background:#eff6ff}#atnoc .atnoc-step{padding:25px 30px}#atnoc .atnoc-step[hidden]{display:none!important}#atnoc .atnoc-step h3{font-size:20px!important;line-height:1.4!important;color:#183d69!important;margin:0 0 17px!important;padding:0!important}#atnoc .atnoc-step p{line-height:1.6}#atnoc .atnoc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#atnoc .atnoc-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-weight:600;font-size:13px;color:#324560}#atnoc .atnoc-field input{width:100%;min-width:0;max-width:100%;height:44px;background:white!important;border:1px solid #cbd7e5!important;border-radius:9px!important;color:#1c2940!important;padding:10px 12px!important;box-shadow:none!important;font:inherit;font-size:15px}#atnoc .atnoc-field input:focus{border-color:#2569c1!important;outline:2px solid #cfe5ff;outline-offset:0}#atnoc .atnoc-note{margin-top:17px;background:#f1f7ff;border-left:3px solid #3678c4;padding:13px;border-radius:7px;font-size:13px}#atnoc .atnoc-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:22px}#atnoc button.atnoc-primary,#atnoc button.atnoc-secondary{min-height:44px;border-radius:9px;padding:10px 16px;cursor:pointer;font-weight:700;font-size:14px;text-transform:none;letter-spacing:0}#atnoc button.atnoc-primary{color:#fff;background:#1763b5;border:1px solid #1763b5}#atnoc button.atnoc-secondary{color:#18548b;background:#fff;border:1px solid #aabed4}#atnoc button[disabled]{opacity:.65;cursor:wait}#atnoc .atnoc-items{max-height:470px;overflow:auto;margin-top:18px;display:grid;gap:10px}#atnoc .atnoc-item{display:flex;align-items:flex-start;gap:13px;border:1px solid #d9e3ee;border-radius:11px;padding:12px;cursor:pointer;background:#fff}#atnoc .atnoc-item:has(input:checked){border-color:#3181c7;background:#f4faff}#atnoc .atnoc-item input{width:19px;height:19px;margin-top:3px;flex:0 0 auto;accent-color:#1763b5}#atnoc .atnoc-item-body{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}#atnoc .atnoc-item-body strong{font-size:14px;color:#193b65}#atnoc .atnoc-item-body small{font-size:12px;color:#4c617b}#atnoc .atnoc-item-body em{font-size:12px;color:#8a4c08;font-style:normal}#atnoc .atnoc-summary{border:1px solid #d8e4ef;background:#f8fbff;padding:15px;border-radius:10px;line-height:1.5}#atnoc .atnoc-bottom{border-top:1px solid #e5ecf3;padding:14px 30px;display:flex;align-items:center;justify-content:space-between;gap:15px}#atnoc .atnoc-link{background:none;border:0;color:#386ca6;cursor:pointer;text-decoration:underline;font-size:12px}#atnoc .atnoc-foot{text-align:center;margin:0!important;padding:11px!important;background:#f7fafc;font-size:12px;color:#6d7890}#atnoc .atnoc-foot a{color:#2a61a2}@media(max-width:650px){#atnoc.atnoc{margin:10px auto;border-radius:13px}#atnoc .atnoc-hero{padding:21px 17px}#atnoc .atnoc-step{padding:21px 15px}#atnoc .atnoc-grid{grid-template-columns:minmax(0,1fr);gap:13px}#atnoc .atnoc-tabs button.atnoc-tab{padding:13px 9px;font-size:12px}#atnoc .atnoc-actions{flex-direction:column}#atnoc .atnoc-actions button{width:100%}#atnoc .atnoc-bottom{padding:13px 15px;align-items:flex-start;flex-direction:column}#atnoc .atnoc-hero h2{font-size:22px!important}}

/* v1.1: isolated Sahifa-safe header and responsive pay controls */
#atnoc.atnoc .atnoc-hero{background:#183f69!important;padding:23px 26px!important}
#atnoc.atnoc .atnoc-hero h2{display:block!important;background:transparent!important;background-image:none!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;box-shadow:none!important;text-shadow:none!important;border:0!important;font-size:clamp(21px,2.5vw,27px)!important;font-weight:750!important;line-height:1.35!important;margin:9px 0 5px!important;padding:0!important;letter-spacing:-.25px!important}
#atnoc.atnoc .atnoc-hero p{color:#dceaf9!important;margin:0!important;font-size:13px!important}
#atnoc.atnoc .atnoc-pay{padding:16px;margin-top:20px;background:#f7fafc;border:1px solid #dfebf4;border-radius:12px}
#atnoc.atnoc .atnoc-pay h4{font-size:16px!important;color:#173e66!important;background:none!important;margin:0 0 13px!important;padding:0!important}
#atnoc.atnoc .atnoc-pay small{display:block;margin-top:10px;color:#5f7186}
#atnoc.atnoc .atnoc-field select{appearance:auto;width:100%;height:44px;min-width:0;max-width:100%;background:#fff!important;color:#1c2940!important;border:1px solid #cbd7e5!important;border-radius:9px!important;padding:8px 12px!important;font-size:14px!important;box-shadow:none!important}
@media(max-width:650px){#atnoc.atnoc .atnoc-hero{padding:19px 16px!important}#atnoc.atnoc .atnoc-hero h2{font-size:21px!important}}

#atnoc.atnoc .atnoc-hero .atnoc-main-title{display:block!important;background:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:none!important;box-shadow:none!important;font-size:clamp(21px,2.5vw,27px)!important;font-weight:750!important;line-height:1.35!important;padding:0!important;margin:9px 0 5px!important;border:0!important}
#atnoc.atnoc .atnoc-savedata{padding:18px 30px;background:#f8fbff;border-top:1px solid #dfe7f3;color:#193b60}
#atnoc.atnoc .atnoc-save-controls{display:grid;grid-template-columns:minmax(120px,1fr) minmax(150px,1.3fr) repeat(3,auto);gap:9px;align-items:center;margin-top:12px}
#atnoc.atnoc .atnoc-save-controls input,#atnoc.atnoc .atnoc-save-controls select{width:100%;min-width:0;height:42px;background:#fff!important;color:#1c2940!important;border:1px solid #cbd7e5!important;border-radius:8px!important;padding:7px 10px!important;box-sizing:border-box}
#atnoc.atnoc .atnoc-save-controls button{color:#18548b;background:#fff;border:1px solid #aabed4;white-space:nowrap;padding:9px 12px;border-radius:8px;font-size:13px;min-height:42px;cursor:pointer}
#atnoc.atnoc .atnoc-savedata small{display:block;color:#687a91;margin-top:9px}
@media(max-width:760px){#atnoc.atnoc .atnoc-save-controls{grid-template-columns:repeat(2,minmax(0,1fr))}#atnoc.atnoc .atnoc-save-controls input,#atnoc.atnoc .atnoc-save-controls select{grid-column:span 2}#atnoc.atnoc .atnoc-savedata{padding:18px 15px}}
#atnoc.atnoc .atnoc-field select option{color:#172a42!important;background:#fff!important}

/* v1.4: theme-safe centered heading and pay controls */
#atnoc.atnoc .atnoc-hero{text-align:center!important;padding:27px 18px!important}
#atnoc.atnoc .atnoc-hero .atnoc-main-title{font-size:clamp(25px,3.4vw,36px)!important;font-weight:750!important;line-height:1.28!important;letter-spacing:-.35px!important;text-align:center!important;margin:12px auto 9px!important;max-width:900px!important}
#atnoc.atnoc .atnoc-hero .atnoc-kicker{display:block!important;text-align:center!important}
#atnoc.atnoc .atnoc-hero p{text-align:center!important}
#atnoc.atnoc .atnoc-pay-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#atnoc.atnoc .atnoc-pay-grid .atnoc-field select{display:block!important;appearance:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;height:46px!important;border-radius:9px!important;border:1px solid #bdcde0!important;background:#fff!important;color:#1a3558!important;-webkit-text-fill-color:#1a3558!important;font-size:15px!important;font-weight:600!important;line-height:1.3!important;padding:10px 12px!important;box-shadow:none!important;cursor:pointer!important}
#atnoc.atnoc .atnoc-pay-grid .atnoc-field select:focus{outline:2px solid #bcd8fc!important;border-color:#3078c5!important}
#atnoc.atnoc .atnoc-save-controls{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
@media(max-width:650px){#atnoc.atnoc .atnoc-pay-grid{grid-template-columns:1fr;gap:14px}#atnoc.atnoc .atnoc-hero .atnoc-main-title{font-size:26px!important}#atnoc.atnoc .atnoc-save-controls button{flex:1 1 120px}}

/* v1.5: visible centered title even when Sahifa resets inherited headings */
body #atnoc.atnoc > .atnoc-hero{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:8px!important;padding:30px 20px!important;background:#194773!important}
body #atnoc.atnoc > .atnoc-hero > .atnoc-main-title{display:block!important;position:static!important;width:100%!important;max-width:none!important;text-align:center!important;font-family:Arial,Helvetica,sans-serif!important;font-size:clamp(25px,3.3vw,37px)!important;font-weight:700!important;line-height:1.3!important;color:#fff!important;-webkit-text-fill-color:#fff!important;margin:3px auto!important;padding:0!important;background:transparent!important;text-transform:none!important;float:none!important}
body #atnoc.atnoc > .atnoc-hero > .atnoc-kicker,body #atnoc.atnoc > .atnoc-hero > p{text-align:center!important;margin:0!important}
body #atnoc.atnoc .atnoc-pay-grid select{display:block!important;opacity:1!important;visibility:visible!important;background-color:#fff!important;color:#163659!important;border:1px solid #b9ccdf!important;min-height:46px!important;-webkit-appearance:menulist!important;appearance:auto!important}
body #atnoc.atnoc .atnoc-pay-grid select option{background:#fff!important;color:#163659!important}
@media(max-width:650px){body #atnoc.atnoc > .atnoc-hero > .atnoc-main-title{font-size:25px!important}}

/* v1.6: mobile-first layout, isolated from Sahifa theme */
body #atnoc.atnoc > .atnoc-hero{min-height:168px!important;border-radius:0!important;display:flex!important;flex-flow:column nowrap!important;align-items:center!important;justify-content:center!important;text-align:center!important;padding:24px 18px!important;gap:9px!important}
body #atnoc.atnoc > .atnoc-hero > .atnoc-main-title{font-size:clamp(25px,3.5vw,37px)!important;font-weight:800!important;text-align:center!important;line-height:1.25!important;max-width:100%!important;display:block!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
body #atnoc.atnoc > .atnoc-hero > .atnoc-kicker{font-size:11px!important;letter-spacing:1.5px!important}
body #atnoc.atnoc > .atnoc-hero > p{font-size:13px!important;color:#e1eafa!important;line-height:1.5!important}
#atnoc.atnoc .atnoc-download-panel{margin-top:18px;border:1px solid #dce6f3;border-radius:14px;padding:20px;background:#f8fbff}
#atnoc.atnoc .atnoc-download-heading{color:#173c67;font-size:17px;font-weight:750;margin:0 0 14px}
#atnoc.atnoc .atnoc-download-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#atnoc.atnoc .atnoc-download-grid button{width:100%;height:auto;min-height:49px;margin:0!important;border-radius:9px!important;padding:11px 12px!important;white-space:normal!important;line-height:1.3!important;text-align:center!important}
#atnoc.atnoc .atnoc-return{margin-top:16px;padding-top:14px;border-top:1px solid #dce6f3}
#atnoc.atnoc .atnoc-return button{min-height:41px!important}
#atnoc.atnoc .atnoc-savedata{padding:22px 30px!important;margin:0!important;background:#fff;border-top:1px solid #e3e9f1}
#atnoc.atnoc .atnoc-savedata-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px}
#atnoc.atnoc .atnoc-savedata-head strong{font-size:17px;color:#193f6b}
#atnoc.atnoc .atnoc-savedata-head span{font-size:12px;color:#657a91}
#atnoc.atnoc .atnoc-save-controls{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important;margin:0!important;width:100%}
#atnoc.atnoc .atnoc-save-controls button{width:100%!important;min-width:0!important;min-height:45px!important;padding:10px 12px!important;border-radius:9px!important;margin:0!important;line-height:1.25!important;white-space:normal!important}
#atnoc.atnoc .atnoc-save-controls button:first-child{background:#edf5ff!important;border-color:#bad1ed!important;color:#164f8c!important}
#atnoc.atnoc .atnoc-savedata small{font-size:12px!important;line-height:1.5!important;margin-top:12px!important}
@media(max-width:720px){#atnoc.atnoc .atnoc-download-grid{grid-template-columns:1fr!important}#atnoc.atnoc .atnoc-download-panel{padding:15px}#atnoc.atnoc .atnoc-savedata{padding:19px 15px!important}#atnoc.atnoc .atnoc-save-controls{grid-template-columns:1fr!important;gap:9px!important}#atnoc.atnoc .atnoc-hero{min-height:145px!important}body #atnoc.atnoc > .atnoc-hero > .atnoc-main-title{font-size:clamp(23px,6vw,29px)!important}}
@media(min-width:721px) and (max-width:950px){#atnoc.atnoc .atnoc-download-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v1.7: status feedback and tidy data controls */
body #atnoc.atnoc #atnoc-status:not(:empty){display:block!important;flex:1 1 100%;padding:12px 15px!important;border-radius:9px!important;font-weight:650!important;background:#ecf9f0!important;border:1px solid #b5e2c4!important;color:#17643a!important;margin:4px 0!important}
body #atnoc.atnoc #atnoc-status.atnoc-status-error:not(:empty){background:#fff0f0!important;color:#a42626!important;border-color:#f3c0c0!important}
#atnoc.atnoc .atnoc-bottom:has(#atnoc-status:empty){display:none!important}
#atnoc.atnoc .atnoc-savedata-head span{display:none!important}


/* v1.8 — high-specificity isolated layouts; Sahifa resets must not collapse gaps */
body #atnoc.atnoc form .atnoc-download-panel{display:block!important;width:100%!important;padding:20px!important;margin:20px 0 0!important;background:#f8fbff!important;border:1px solid #dce6f3!important;border-radius:13px!important;box-sizing:border-box!important}
body #atnoc.atnoc form .atnoc-download-heading{display:block!important;margin:0 0 15px!important;padding:0!important;font-size:17px!important;font-weight:700!important;color:#173c67!important}
body #atnoc.atnoc form .atnoc-download-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;column-gap:14px!important;row-gap:14px!important;align-items:stretch!important;width:100%!important;margin:0!important;padding:0!important}
body #atnoc.atnoc form .atnoc-download-grid > button.atnoc-primary{display:flex!important;align-items:center!important;justify-content:center!important;float:none!important;position:static!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:54px!important;height:auto!important;margin:0!important;padding:12px 14px!important;line-height:1.35!important;white-space:normal!important;text-align:center!important;border-radius:9px!important;box-sizing:border-box!important}
body #atnoc.atnoc form .atnoc-return{display:flex!important;justify-content:flex-start!important;clear:both!important;gap:12px!important;width:100%!important;margin-top:17px!important;padding-top:15px!important;border-top:1px solid #dce6f3!important}
body #atnoc.atnoc form .atnoc-return > button{margin:0!important;min-height:44px!important;border-radius:9px!important}
body #atnoc.atnoc > .atnoc-savedata{display:block!important;clear:both!important;width:100%!important;padding:23px 30px!important;background:#f8fbff!important;margin:0!important;box-sizing:border-box!important;border-top:1px solid #e1e8f1!important}
body #atnoc.atnoc > .atnoc-savedata .atnoc-savedata-head{display:block!important;margin:0 0 16px!important;padding:0!important}
body #atnoc.atnoc > .atnoc-savedata .atnoc-savedata-head strong{display:block!important;font-size:17px!important;font-weight:700!important;line-height:1.4!important;color:#193f6b!important}
body #atnoc.atnoc > .atnoc-savedata .atnoc-save-controls{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;width:100%!important;margin:0!important;padding:0!important;align-items:stretch!important}
body #atnoc.atnoc > .atnoc-savedata .atnoc-save-controls > button{display:flex!important;align-items:center!important;justify-content:center!important;float:none!important;position:static!important;margin:0!important;padding:12px!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:50px!important;border-radius:9px!important;box-sizing:border-box!important;white-space:normal!important;line-height:1.3!important}
@media(max-width:720px){body #atnoc.atnoc form .atnoc-download-panel{padding:15px!important}body #atnoc.atnoc form .atnoc-download-grid{grid-template-columns:1fr!important;gap:11px!important}body #atnoc.atnoc > .atnoc-savedata{padding:20px 15px!important}body #atnoc.atnoc > .atnoc-savedata .atnoc-save-controls{grid-template-columns:1fr!important;gap:10px!important}}
@media(min-width:721px) and (max-width:880px){body #atnoc.atnoc form .atnoc-download-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* v1.9: layout is reinforced inside rendered HTML to bypass stale stylesheet aggregation. */

#atnoc.atnoc .atnoc-school-lookup-status{display:block;font-size:12px;color:#315f8d;line-height:1.5;margin-top:5px;white-space:normal;}

/* DDO designation - scoped to NOC UI only */
#atnoc.atnoc .atnoc-ddo-wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:12px 0 18px;}
#atnoc.atnoc .atnoc-ddo-wrap [hidden]{display:none!important;}
#atnoc.atnoc .atnoc-ddo-wrap select,#atnoc.atnoc .atnoc-ddo-wrap input{width:100%;box-sizing:border-box;}
@media(max-width:720px){#atnoc.atnoc .atnoc-ddo-wrap{grid-template-columns:1fr;gap:12px;}}

/* v3.0 department selector: preserve true hidden state under theme CSS */
#atnoc #atnoc-udise-wrap[hidden],#atnoc #atnoc-school-action[hidden]{display:none!important}
#atnoc .atnoc-department{min-width:0}
#atnoc #atnoc-department{width:100%;min-width:0}

/* Version 3.1: department conditional fields, scoped against Sahifa styles */
#atnoc.atnoc #atnoc-udise-wrap[hidden],#atnoc.atnoc #atnoc-school-action[hidden],
#atnoc.atnoc[data-department="other"] #atnoc-udise-wrap,
#atnoc.atnoc[data-department="other"] #atnoc-school-action{display:none!important;}

/* NOC 3.2: Other department sanctioning authority */
#atnoc.atnoc #atnoc-sanction-wrap[hidden]{display:none!important}
#atnoc.atnoc #atnoc-sanction-wrap{margin-top:18px;padding:16px;border:1px solid #d8e3f1;border-radius:12px;background:#f8fbff}
#atnoc.atnoc #atnoc-sanction-wrap h4{margin:0 0 14px;font-size:18px;color:#163d68}
#atnoc.atnoc #atnoc-sanction-wrap textarea{width:100%;min-height:76px;padding:12px;box-sizing:border-box;border:1px solid #c7d6e7;border-radius:9px;resize:vertical;background:#fff;color:#132f50}


#atnoc.atnoc .atnoc-grid > #atnoc-sanction-wrap, #atnoc.atnoc .atnoc-grid > .atnoc-ddo-wrap{grid-column:1 / -1;min-width:0}
#atnoc.atnoc .atnoc-grid > .atnoc-ddo-wrap{margin:0 0 8px;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
#atnoc.atnoc:has(#atnoc-department option[value="other"]:checked) #atnoc-sanction-wrap{display:block!important;visibility:visible!important}
#atnoc.atnoc:has(#atnoc-department option[value="school"]:checked) #atnoc-sanction-wrap{display:none!important}
#atnoc.atnoc #atnoc-sanction-wrap .atnoc-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
@media(max-width:720px){#atnoc.atnoc #atnoc-sanction-wrap .atnoc-grid{grid-template-columns:1fr!important}}

/* v3.7 custom notification inputs: scoped to plugin */
#atnoc.atnoc .atnoc-custom-notices{margin:22px 0;padding:18px;background:#f7faff;border:1px solid #d5e2f3;border-radius:13px}
#atnoc.atnoc .atnoc-custom-notices h4{margin:0 0 8px;font-size:18px;color:#153c68}
#atnoc.atnoc .atnoc-custom-notices p{margin:0 0 16px}
#atnoc.atnoc .atnoc-custom-grid{margin-bottom:12px}
#atnoc.atnoc .atnoc-custom-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #d5e2f3;background:#fff;border-radius:9px;margin-top:9px;min-width:0}
#atnoc.atnoc .atnoc-custom-item div{min-width:0;overflow-wrap:anywhere}
#atnoc.atnoc .atnoc-custom-item small{display:block;color:#52657a;margin-top:4px}
#atnoc.atnoc .atnoc-custom-item button{flex-shrink:0}
@media(max-width:650px){#atnoc.atnoc .atnoc-custom-notices{padding:12px}#atnoc.atnoc .atnoc-custom-item{align-items:flex-start;flex-direction:column}}

/* v3.8: visible acknowledgement and saved manual notification list */
#atnoc #atnoc-custom-feedback:not([hidden]){display:block!important;margin:12px 0;padding:12px 14px;border-radius:8px;background:#eef7ff;font-size:14px;font-weight:600;line-height:1.55}#atnoc .atnoc-custom-list:not(:empty){margin:16px 0;padding:12px;border:1px solid #cbdbea;border-radius:12px;background:#f9fcff}#atnoc .atnoc-custom-item{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #e1e8f1}#atnoc .atnoc-custom-item:last-child{border-bottom:0}#atnoc .atnoc-custom-item small{display:block;margin-top:5px;color:#53657c}

/* v4.2 — manual notification editor, fully scoped to shortcode */
#atnoc.atnoc #atnoc-custom-notices{background:#f5f9ff;border:1px solid #cbdef1;border-radius:16px;padding:clamp(14px,3vw,24px);margin-top:24px;box-sizing:border-box}
#atnoc.atnoc #atnoc-custom-notices h4{color:#123b66;font-size:20px;font-weight:750;margin:0 0 8px}
#atnoc.atnoc #atnoc-custom-notices .atnoc-custom-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:17px 0}
#atnoc.atnoc #atnoc-custom-notices .atnoc-field{min-width:0;display:flex;flex-direction:column;gap:7px}
#atnoc.atnoc #atnoc-custom-notices .atnoc-field input{display:block;width:100%;max-width:100%;min-width:0;min-height:48px;box-sizing:border-box;border:1px solid #b6cbe2;border-radius:10px;background:#fff;color:#143455;padding:11px 13px;font-size:15px}
#atnoc.atnoc #atnoc-custom-notices #atnoc-add-custom{display:inline-flex;align-items:center;justify-content:center;margin:4px 10px 8px 0;padding:13px 20px;border:0;border-radius:10px;background:#1763b5;color:#fff;font-weight:700;min-height:48px;cursor:pointer}
#atnoc.atnoc #atnoc-cancel-custom:not([hidden]){display:inline-flex!important;align-items:center;justify-content:center;padding:12px 18px;border:1px solid #b4c7dc;border-radius:10px;min-height:48px}
#atnoc.atnoc #atnoc-custom-list:not(:empty){background:transparent;border:0;padding:0;display:grid;gap:12px;margin:15px 0 0}
#atnoc.atnoc #atnoc-custom-list .atnoc-custom-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px;border:1px solid #d5e2f3;border-radius:12px;background:#fff;margin:0;align-items:center}
#atnoc.atnoc .atnoc-notice-summary strong{display:block;font-size:15px;color:#173c64}
#atnoc.atnoc .atnoc-notice-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
#atnoc.atnoc .atnoc-notice-btn{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;min-height:38px;border-radius:8px;padding:8px 12px;font-size:13px;font-weight:650;background:#f0f6ff;color:#155a9c;border:1px solid #c5daf0;white-space:nowrap}
#atnoc.atnoc .atnoc-notice-remove{background:#fff4f3;color:#aa2d29;border-color:#f4c8c5}
#atnoc.atnoc .atnoc-notice-details{grid-column:1 / -1;background:#f5f8fc;border:1px solid #e0e9f4;border-radius:9px;padding:12px;line-height:1.65;color:#243b53;font-size:14px}
#atnoc.atnoc .atnoc-notice-details[hidden]{display:none!important}
#atnoc.atnoc .atnoc-notice-details>div{overflow-wrap:anywhere}
@media(max-width:700px){#atnoc.atnoc #atnoc-custom-notices .atnoc-custom-grid{grid-template-columns:minmax(0,1fr)}#atnoc.atnoc #atnoc-custom-list .atnoc-custom-item{grid-template-columns:minmax(0,1fr)}#atnoc.atnoc .atnoc-notice-actions{justify-content:flex-start}#atnoc.atnoc .atnoc-notice-btn{flex:1 1 auto}}

/* v4.3 notification card styling, protected from Sahifa button overrides */
#atnoc.atnoc #atnoc-custom-notices{display:block!important;max-width:100%!important;box-sizing:border-box!important;background:#f6faff!important;border:1px solid #cddff2!important;border-radius:16px!important;padding:18px!important;margin:24px 0!important}
#atnoc.atnoc #atnoc-custom-notices h4{font-size:20px!important;font-weight:700!important;line-height:1.4!important;color:#143b64!important;margin:0 0 10px!important}
#atnoc.atnoc #atnoc-custom-notices .atnoc-custom-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;margin:16px 0!important}
#atnoc.atnoc #atnoc-custom-notices .atnoc-field{display:flex!important;flex-direction:column!important;min-width:0!important;gap:7px!important}
#atnoc.atnoc #atnoc-custom-notices .atnoc-field input{width:100%!important;max-width:100%!important;min-height:46px!important;border:1px solid #bdd0e5!important;border-radius:10px!important;padding:11px 13px!important;background:#fff!important;box-sizing:border-box!important}
#atnoc.atnoc #atnoc-custom-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;margin:16px 0 0!important;padding:0!important;background:transparent!important;border:0!important}
#atnoc.atnoc #atnoc-custom-list .atnoc-custom-item{display:flex!important;flex-wrap:wrap!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;margin:0!important;padding:16px!important;background:#fff!important;border:1px solid #cfdeee!important;border-radius:12px!important;box-shadow:0 2px 7px rgba(21,66,112,.05)!important;box-sizing:border-box!important;max-width:100%!important}
#atnoc.atnoc #atnoc-custom-list .atnoc-notice-summary{width:100%!important;overflow-wrap:anywhere!important;color:#173a61!important;font-size:15px!important;line-height:1.55!important}
#atnoc.atnoc #atnoc-custom-list .atnoc-notice-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:center!important;justify-content:flex-start!important;width:100%!important}
#atnoc.atnoc #atnoc-custom-list button.atnoc-notice-btn{all:unset!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:43px!important;padding:10px 15px!important;border:1px solid #bdd3ea!important;border-radius:9px!important;background:#eff6fe!important;color:#155995!important;font:600 14px/1.3 Arial,sans-serif!important;cursor:pointer!important;float:none!important;min-width:0!important;white-space:nowrap!important;box-shadow:none!important}
#atnoc.atnoc #atnoc-custom-list button.atnoc-notice-edit{background:#1763b5!important;border-color:#1763b5!important;color:#fff!important}
#atnoc.atnoc #atnoc-custom-list button.atnoc-notice-remove{background:#fff4f4!important;border-color:#efc6c6!important;color:#ad3030!important}
#atnoc.atnoc #atnoc-custom-list .atnoc-notice-details{width:100%!important;box-sizing:border-box!important;display:block!important;padding:13px!important;background:#f4f8fd!important;border:1px solid #dce7f2!important;border-radius:9px!important;color:#243d58!important;line-height:1.7!important}
#atnoc.atnoc #atnoc-custom-list .atnoc-notice-details[hidden]{display:none!important}
@media(max-width:720px){#atnoc.atnoc #atnoc-custom-notices{padding:14px!important}#atnoc.atnoc #atnoc-custom-notices .atnoc-custom-grid{grid-template-columns:minmax(0,1fr)!important}#atnoc.atnoc #atnoc-custom-list .atnoc-notice-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}#atnoc.atnoc #atnoc-custom-list button.atnoc-notice-btn{width:100%!important;font-size:12px!important;padding:10px 5px!important;white-space:normal!important;text-align:center!important}}
@media(max-width:360px){#atnoc.atnoc #atnoc-custom-list .atnoc-notice-actions{grid-template-columns:1fr!important}}

#atnoc .atnoc-purpose-panel{margin:8px 0 24px;padding:16px;border:1px solid #c7d9ea;background:#f2f7fd;border-radius:13px}#atnoc .atnoc-purpose-panel select{width:100%;max-width:100%;min-height:48px}#atnoc #atnoc-studies-notices{padding:14px;border-radius:12px;background:#fafcff;border:1px solid #e0eaf4}#atnoc #atnoc-studies-notices[hidden],#atnoc #atnoc-jobs-notices[hidden]{display:none!important}#atnoc .atnoc-study-grid{gap:15px}#atnoc .atnoc-study-grid input,#atnoc .atnoc-study-grid select,#atnoc .atnoc-study-grid textarea{width:100%;box-sizing:border-box}#atnoc .atnoc-study-help{font-size:13px;color:#49617d;line-height:1.6}@media(max-width:700px){#atnoc .atnoc-study-grid{grid-template-columns:1fr!important}#atnoc #atnoc-studies-notices{padding:12px}}


/* v4.6: modern responsive step navigation; scoped to NOC only */
#atnoc.atnoc .atnoc-tabs {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:0 !important;
  overflow:visible !important;
  width:100% !important;
  background:#f3f7fc !important;
  border-bottom:1px solid #dbe5f2 !important;
}
#atnoc.atnoc .atnoc-tabs > button.atnoc-tab {
  box-sizing:border-box !important;
  display:flex !important;
  flex-direction:row !important;
  justify-content:center !important;
  align-items:center !important;
  flex:initial !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  min-height:72px !important;
  padding:14px 10px !important;
  margin:0 !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
  text-align:center !important;
  font-size:clamp(12px,1.35vw,15px) !important; font-weight:700 !important; line-height:1.4 !important; font-family:inherit !important;
  color:#415875 !important;
  border:0 !important;
  border-bottom:3px solid transparent !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  cursor:pointer !important;
}
#atnoc.atnoc .atnoc-tabs > button.atnoc-tab.is-active {
  color:#11579c !important;
  background:#eaf4ff !important;
  border-bottom-color:#1763b5 !important;
}
#atnoc.atnoc .atnoc-tabs > button.atnoc-tab:focus-visible {
  outline:2px solid #1763b5 !important;
  outline-offset:-4px !important;
}
#atnoc.atnoc .atnoc-tabs > button.atnoc-tab #atnoc-count {
  display:inline-block !important;
  font-size:12px !important;
  line-height:1.2 !important;
  margin-left:5px !important;
  padding:3px 7px !important;
  border-radius:999px !important;
  background:#e0ebf7 !important;
  color:#1e5c96 !important;
  vertical-align:middle !important;
}
@media(max-width:720px){
  #atnoc.atnoc .atnoc-tabs > button.atnoc-tab {
    min-height:66px !important;
    padding:10px 6px !important;
    font-size:12px !important;
    line-height:1.35 !important;
  }
  #atnoc.atnoc .atnoc-tabs > button.atnoc-tab #atnoc-count {
    font-size:11px !important;
    padding:2px 5px !important;
    margin-left:3px !important;
  }
}
@media(max-width:380px){
  #atnoc.atnoc .atnoc-tabs > button.atnoc-tab{font-size:11px !important;padding:9px 4px !important;}
}

/* v4.7: Inline step navigation fallback — avoids cached styles and Sahifa flex rules */
#atnoc.atnoc > .atnoc-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row!important;gap:0!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;align-items:stretch!important}
#atnoc.atnoc > .atnoc-tabs > button.atnoc-tab{float:none!important;display:flex!important;position:relative!important;flex:none!important;min-width:0!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:64px!important;box-sizing:border-box!important;margin:0!important;padding:10px 5px!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;align-items:center!important;justify-content:center!important;text-align:center!important;font:700 12px/1.35 Arial,sans-serif!important;letter-spacing:0!important;border-radius:0!important}
#atnoc.atnoc > .atnoc-tabs > button.atnoc-tab #atnoc-count{font-size:10px!important;padding:1px 3px!important;margin:0 0 0 2px!important;white-space:nowrap!important}
@media(min-width:740px){#atnoc.atnoc > .atnoc-tabs > button.atnoc-tab{font-size:14px!important;min-height:68px!important;padding:13px 10px!important}}
@media(max-width:400px){#atnoc.atnoc > .atnoc-tabs > button.atnoc-tab{font-size:11px!important;min-height:62px!important;padding:8px 3px!important}}


#atnoc .atnoc-notification-downloads{margin-top:18px;padding:15px;border:1px solid #dbe7f6;border-radius:12px;background:#f6faff;display:flex;flex-direction:column;gap:9px}
#atnoc .atnoc-notification-downloads[hidden]{display:none!important}
#atnoc a.atnoc-notification-pdf{display:block;padding:11px 13px;text-decoration:none!important;background:#fff;color:#1255a1;border:1px solid #cbdcf0;border-radius:9px;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
#atnoc a.atnoc-notification-pdf:hover{background:#e7f2ff}

/* Native disclosure works without JavaScript; scoped to this plugin. */
#atnoc.atnoc #atnoc-custom-disclosure:not([open]) #atnoc-custom-entry{display:none!important}
#atnoc.atnoc #atnoc-custom-disclosure[open] #atnoc-custom-entry{display:block!important;margin-top:15px!important}
#atnoc.atnoc #atnoc-custom-disclosure>summary{list-style:none!important;cursor:pointer!important}
#atnoc.atnoc #atnoc-custom-disclosure>summary::-webkit-details-marker{display:none!important}

/* v5.8: Clear, touch-friendly original notification PDF download section. */
#atnoc.atnoc #atnoc-notification-downloads.atnoc-notification-downloads{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
  margin:22px 0 14px;padding:20px;border:1px solid #cbdcf1;border-radius:16px;
  background:#f3f8ff;box-shadow:0 5px 20px rgba(13,63,113,.06);
  min-width:0;box-sizing:border-box;
}
#atnoc.atnoc #atnoc-notification-downloads[hidden]{display:none!important}
#atnoc.atnoc #atnoc-notification-downloads>strong{
  grid-column:1/-1;display:block;color:#173f6f;font-size:18px;line-height:1.4;
  font-weight:750;margin:0;padding:0;
}
#atnoc.atnoc #atnoc-notification-downloads>p{
  grid-column:1/-1;margin:0 0 4px!important;color:#49627d;font-size:13px;
  line-height:1.6;
}
#atnoc.atnoc #atnoc-notification-downloads>a.atnoc-notification-pdf{
  display:flex!important;align-items:center!important;gap:10px;min-width:0;width:100%;
  box-sizing:border-box;min-height:66px;margin:0;padding:13px 15px;
  border:1px solid #bcd3f0;border-radius:11px;background:#fff;
  color:#15569c!important;font-size:13.5px;font-weight:700;line-height:1.55;
  white-space:normal;overflow-wrap:anywhere;word-break:normal;
  text-decoration:none!important;box-shadow:0 2px 7px rgba(14,70,123,.05);
  transition:background .15s ease,border-color .15s ease,box-shadow .15s ease;
}
#atnoc.atnoc #atnoc-notification-downloads>a.atnoc-notification-pdf::before{
  content:'PDF';flex:none;display:inline-flex;align-items:center;justify-content:center;
  border-radius:6px;padding:5px 6px;min-width:34px;min-height:26px;
  background:#e6f0fd;color:#1255a1;font:bold 11px/1 Arial,sans-serif;
}
#atnoc.atnoc #atnoc-notification-downloads>a.atnoc-notification-pdf:hover{
  background:#e9f3ff;border-color:#7faee4;box-shadow:0 4px 13px rgba(14,70,123,.1);
}
#atnoc.atnoc #atnoc-notification-downloads>a.atnoc-notification-pdf:focus-visible{
  outline:3px solid #f5ac34;outline-offset:3px;
}
@media(max-width:720px){
 #atnoc.atnoc #atnoc-notification-downloads.atnoc-notification-downloads{grid-template-columns:minmax(0,1fr);padding:14px;gap:10px}
 #atnoc.atnoc #atnoc-notification-downloads>a.atnoc-notification-pdf{min-height:62px;padding:12px;font-size:13px}
 #atnoc.atnoc #atnoc-notification-downloads>strong{font-size:16px}
}
@media(prefers-reduced-motion:reduce){#atnoc.atnoc #atnoc-notification-downloads>a.atnoc-notification-pdf{transition:none}}
