/* Scoped to the plans route. The existing site and admin styles remain authoritative. */
.ap-dle-page .ap-embedded{padding:0;max-width:none;font-family:Tahoma,sans-serif;font-size:14px;line-height:20px}
.ap-embedded h1{font-size:24px;line-height:32px;margin:0 0 8px;color:#285f60}
.ap-embedded .ap-intro{margin:0 0 16px;color:#555}
.ap-embedded .ap-kind-tabs{margin:16px 0;gap:8px}
.ap-embedded .ap-kind-tabs button,.ap-embedded .ap-group-tabs button{font-size:14px;line-height:20px;padding:8px 12px;min-height:40px}
.ap-embedded .ap-filters{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;padding:16px;margin:16px 0;border-radius:4px;background:#f9f9f9}
.ap-embedded .ap-filters label{grid-column:span 2;font-size:12px;line-height:16px}
.ap-embedded .ap-filters .ap-search-field,.ap-embedded .ap-filters .ap-house-field{grid-column:span 3}
.ap-embedded .ap-filters input,.ap-embedded .ap-filters select{font-size:14px;line-height:20px;min-height:40px;margin-top:8px;padding:8px;max-width:100%}
.ap-embedded .ap-view-bar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.ap-embedded .ap-group-tabs{display:inline-flex;gap:0}
.ap-embedded .ap-group-tabs button{border:1px solid #829b9c;background:#fff;color:#285f60;font-weight:700;border-radius:0}
.ap-embedded .ap-group-tabs button:first-child{border-radius:4px 0 0 4px}
.ap-embedded .ap-group-tabs button:last-child{border-radius:0 4px 4px 0;border-left:0}
.ap-embedded .ap-group-tabs button[aria-pressed=true]{background:#5f9ea0;color:#000}
.ap-embedded .ap-group-tabs button:hover,.ap-embedded .ap-kind-tabs button:hover{background:#edf4f4;color:#285f60}
.ap-embedded .ap-results-bar{margin:12px 0 4px;gap:8px;flex-direction:row;align-items:center;flex-wrap:wrap}
.ap-embedded .ap-results-bar p{font-size:12px;line-height:20px;margin:0}
.ap-embedded .ap-fold-controls{display:flex;gap:4px;flex-wrap:wrap}
.ap-embedded .ap-text-button{font-size:12px;line-height:20px;padding:8px;min-height:40px}
.ap-embedded .ap-table-hint{font-size:12px;line-height:16px;color:#555;margin:0 0 12px}
.ap-embedded .ap-work-group{margin:0 0 16px;border:1px solid #b8cccc;border-radius:4px;overflow:hidden;background:#fff}
.ap-embedded .ap-work-group>summary{cursor:pointer;padding:12px;background:#dceaea;color:#234748;display:flex;align-items:center;gap:12px;list-style:none;min-height:48px}
.ap-embedded .ap-work-group>summary::-webkit-details-marker{display:none}
.ap-embedded .ap-work-group>summary:before{content:'+';font-size:20px;line-height:24px;font-weight:700;flex:0 0 16px;text-align:center}
.ap-embedded .ap-work-group[open]>summary:before{content:'−'}
.ap-embedded .ap-work-group>summary:hover{background:#cddfdf}
.ap-embedded .ap-work-group>summary:focus-visible{outline:3px solid #285f60;outline-offset:-3px}
.ap-embedded .ap-group-heading{display:block;min-width:0;font-size:14px;line-height:20px;font-weight:700;overflow-wrap:anywhere}
.ap-embedded .ap-group-plan{display:block;font-weight:400;font-size:12px;line-height:20px;margin-bottom:4px}
.ap-embedded .ap-group-count{margin-left:auto;white-space:nowrap;font-size:12px;line-height:20px}
.ap-embedded .ap-compact-wrap{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain}
.ap-embedded table.ap-compact{width:100%;min-width:700px;table-layout:fixed;border-collapse:collapse;display:table}
.ap-embedded table.ap-compact col.ap-col-number{width:32px}.ap-embedded table.ap-compact col.ap-col-main{width:auto}.ap-embedded table.ap-compact col.ap-col-volume{width:60px}.ap-embedded table.ap-compact col.ap-col-unit{width:40px}.ap-embedded table.ap-compact col.ap-col-schedule{width:112px}.ap-embedded table.ap-compact col.ap-col-basis{width:90px}.ap-embedded table.ap-compact col.ap-col-result{width:128px}
.ap-embedded table.ap-compact thead{display:table-header-group;position:static;width:auto;height:auto;clip:auto;overflow:visible}
.ap-embedded table.ap-compact tbody{display:table-row-group}
.ap-embedded table.ap-compact tr{display:table-row;width:auto!important;padding:0;margin:0;border:0;border-radius:0}
.ap-embedded table.ap-compact th,.ap-embedded table.ap-compact td{display:table-cell;width:auto!important;font-size:12px;line-height:20px;padding:4px 8px;vertical-align:middle;border-top:1px solid #d7e1e1;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
.ap-embedded table.ap-compact td:before{display:none}
.ap-embedded table.ap-compact thead th{padding:8px;background:#f0f5f5;font-weight:700;color:#394c4d}
.ap-embedded table.ap-compact .ap-subgroup th{padding:8px;background:#edf4f4;white-space:normal;font-weight:700;color:#234748}
.ap-embedded .ap-row-link{display:block;width:100%;min-height:32px;padding:4px 0;border:0;background:transparent;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#285f60;text-decoration:underline;font-size:12px;line-height:20px;cursor:pointer}
.ap-embedded .ap-status-button{display:block;max-width:100%;width:100%;min-height:32px;padding:4px;font-size:12px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
.ap-embedded .ap-status-button:hover{filter:brightness(.96)}
.ap-embedded table.ap-compact .ap-col-volume,.ap-embedded table.ap-compact .ap-col-number{font-variant-numeric:tabular-nums}
.ap-embedded .ap-footnote{font-size:12px;line-height:20px;margin-top:24px!important;padding-top:16px}
.ap-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ap-dle-page #center{padding-bottom:32px}
.ap-dle-page #footer{position:static;height:auto;clear:both;width:100%}
.ap-dle-page #footmenu{height:auto;min-height:200px}
.ap-dle-page #footmenu>.container{display:flow-root}
.ap-dle-page .ap-dialog{margin:auto;position:fixed;inset:0}
.ap-dle-page .ap-dialog:not([open]){display:none}
@media(max-width:1200px){
 .ap-dle-page #wrapper{width:100%;max-width:1200px}.ap-dle-page .container{width:100%;max-width:1170px;padding:0 16px}
 .ap-dle-page #center>.container{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px}
 .ap-dle-page #center>.container:before,.ap-dle-page #center>.container:after,.ap-dle-page #center>.container>.clr{display:none}
 .ap-dle-page #center #content{width:auto;min-width:0;padding:0;float:none;grid-column:2;grid-row:1}
 .ap-dle-page #center #sidebar{width:auto;min-width:0;float:none;grid-column:1;grid-row:1}
}
@media(max-width:900px){
 .ap-dle-page #header{height:auto}.ap-dle-page #header .container{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
 .ap-dle-page #header #logo{max-width:100%;width:auto;float:none;flex:1 1 400px}
 .ap-dle-page #q_search{float:none;width:360px;max-width:100%;margin:0 0 16px}.ap-dle-page .q_search{width:100%;max-width:360px}
 .ap-dle-page nav#mainmenu{height:auto;min-height:50px}.ap-dle-page #mainmenu>.container>ul{display:flex;flex-wrap:wrap}.ap-dle-page #mainmenu>.container>ul>li{float:none}
 .ap-dle-page #center>.container{display:flex;flex-direction:column;gap:32px}.ap-dle-page #center #content{order:0;width:100%}.ap-dle-page #center #sidebar{order:1;width:100%;min-height:0}
 .ap-dle-page #footer .foot3{float:none;width:100%;margin:0 0 24px}.ap-dle-page #footer .container{height:auto}
}
@media(max-width:540px){
 .ap-dle-page #logo>h1{font-size:20px;height:32px;line-height:32px;padding-left:80px;background-size:72px auto}
 .ap-embedded .ap-filters{grid-template-columns:1fr 1fr;padding:12px}.ap-embedded .ap-filters label{grid-column:span 1}.ap-embedded .ap-filters .ap-search-field,.ap-embedded .ap-filters .ap-house-field,.ap-embedded .ap-filters label:last-child{grid-column:1/-1}
 .ap-embedded .ap-results-bar{align-items:flex-start;flex-direction:column}.ap-embedded .ap-kind-tabs button{flex:1 1 auto}
 .ap-dle-page #center{padding-top:24px}.ap-dle-page .ap-dialog-head{flex-direction:row}
}
