
/* Independent production manager design - intentionally isolated from public-site theme */
:root{--am-navy:#09243a;--am-blue:#123b5b;--am-orange:#ff9b3e}
html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}
body{margin:0!important;background:#f3f6fa!important;color:#18344f!important;font-family:Arial,Helvetica,sans-serif!important;line-height:1.5!important}
.header{height:auto!important;min-height:74px!important;background:white!important;border-bottom:1px solid #d9e4ed!important;padding:15px max(20px,calc((100% - 1250px)/2))!important;display:flex!important;gap:20px!important;align-items:center!important;color:#19334b!important}
.header a{text-decoration:none!important}.header .logo b{font-size:29px!important;color:#0b2942!important}.header .logo span{color:#ff9b3e!important}.header .logo small{color:#42586d!important}.header nav{display:flex!important;gap:15px!important;margin-left:auto!important;flex-wrap:wrap!important}.header nav a{font-size:12px!important;color:#214058!important;font-weight:700!important}.tiny-admin{color:#b9570b!important;font-size:12px!important}
.page-hero.compact{min-height:0!important;padding:40px max(22px,calc((100% - 1240px)/2))!important;background:linear-gradient(120deg,#081c2c,#173e60)!important;color:white!important}.page-hero.compact h1{font-size:clamp(35px,4vw,54px)!important;line-height:1.1!important;margin:8px 0 12px!important;color:white!important}.page-hero.compact h1 em{color:#ffa64b!important;font-style:normal!important}.page-hero.compact p{color:#e5edf5!important;margin:10px 0!important}.page-hero.compact .kicker{color:#ffaf64!important;font-size:12px!important;letter-spacing:2px!important}.manager-release{font-size:12px!important;letter-spacing:.08em!important}
main.section{display:block!important;max-width:1320px!important;margin:auto!important;padding:30px 24px 90px!important;background:transparent!important;color:#15304a!important;border:0!important}
.admin-navigation{display:flex!important;gap:12px!important;flex-wrap:wrap!important;margin:0 0 25px!important}
.btn,.admin-navigation .btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#fa983c!important;color:#08233a!important;border:1px solid #ef8c30!important;border-radius:8px!important;padding:11px 16px!important;font-weight:750!important;font-size:13px!important;text-decoration:none!important;cursor:pointer!important;box-shadow:none!important}
.btn.outline,.admin-navigation .btn:not(:first-child){background:white!important;color:#163952!important;border-color:#cad9e5!important}
.stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:0 0 24px!important}.stats>div{display:block!important;background:#102d43!important;border-radius:12px!important;padding:22px!important;color:white!important}.stats b{display:block!important;color:white!important;font-size:30px!important;line-height:1.2!important}.stats span{display:block!important;color:#c8d7e5!important;font-size:12px!important;margin-top:7px!important}
.project-table-panel{display:block!important;background:white!important;border:1px solid #d7e1e9!important;border-radius:15px!important;overflow:hidden!important;box-shadow:0 14px 40px #172e4812!important;color:#15314a!important;margin:20px 0!important}
.project-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;padding:25px!important}.project-toolbar h2{margin:0!important;color:#0c2b44!important;font-size:25px!important}.project-toolbar p{color:#597086!important;margin:6px 0 0!important}.project-tools{display:flex!important;gap:10px!important}.project-tools input,.project-tools select{background:white!important;color:#16314b!important;border:1px solid #b6c9d8!important;border-radius:8px!important;font:inherit!important;padding:11px!important;max-width:280px!important}
.project-table-scroll{overflow-x:auto!important}.project-rows{width:100%!important;min-width:900px!important;border-collapse:collapse!important}.project-rows th{background:#eaf0f6!important;color:#2c435b!important;text-align:left!important;padding:15px!important;font-size:12px!important}.project-rows td{color:#243e56!important;border-top:1px solid #e6ecf2!important;padding:14px 15px!important;vertical-align:middle!important;font-size:13px!important}.project-rows td strong{display:block!important}.project-rows td small{display:block!important;color:#6a7b8e!important}.project-rows tr[hidden]{display:none!important}.project-rows tbody tr:hover{background:#f3f8fc!important}.project-stage-badge{display:inline-block!important;border-radius:25px!important;background:#e8f1fb!important;color:#245076!important;padding:6px 10px!important;font-weight:700!important;white-space:nowrap!important}.project-meter{height:8px!important;min-width:70px!important;border-radius:10px!important;background:#dae6f0!important;overflow:hidden!important}.project-meter span{display:block!important;height:100%!important;background:#ff9b3e!important}.project-open{padding:9px 12px!important;white-space:nowrap!important}
.admin-project.project-detail{max-width:1220px!important;margin:15px auto!important;padding:30px!important;border:1px solid #d5e1ea!important;border-radius:14px!important;background:white!important;color:#1b364f!important;box-shadow:0 12px 30px #10283e12!important}
.admin-project h2,.admin-project h3,.admin-project strong{color:#17314a!important}.admin-project p,.admin-project label{color:#334c62!important}.admin-project a{color:#b65d18!important}.admin-project .portal-header{display:flex!important;justify-content:space-between!important;gap:15px!important;align-items:start!important}.admin-project .pill{background:#fff0dd!important;color:#9a520d!important;border-radius:22px!important;padding:8px 14px!important}.stage-pipeline{background:#f1f6fb!important;border:1px solid #d6e2ed!important;border-radius:12px!important;padding:20px!important;margin:20px 0!important}.stage-pipeline-title{display:flex!important;justify-content:space-between!important;gap:14px!important}.stage-track{display:grid!important;grid-template-columns:repeat(8,minmax(90px,1fr))!important;gap:8px!important;overflow-x:auto!important;margin:15px 0!important}.stage-step{text-align:center!important;opacity:.55!important}.stage-step.done,.stage-step.current{opacity:1!important}.stage-step small{display:block!important;font-size:11px!important;color:#284359!important}.stage-dot{display:block!important;width:16px!important;height:16px!important;border-radius:50%!important;background:#b7c7d7!important;margin:0 auto 7px!important}.stage-step.done .stage-dot{background:#ff9b3e!important}.meter{background:#e0e8f1!important;border-radius:30px!important;height:10px!important;overflow:hidden!important}.meter span{display:block!important;background:#ff9b3e!important;height:100%!important}
.admin-form{padding:20px!important;background:#f4f7fb!important;border:1px solid #dee8ef!important;border-radius:12px!important;margin:20px 0!important;color:#17314b!important}.admin-form label{display:block!important;color:#243d54!important;font-size:13px!important;font-weight:bold!important;margin:12px 0!important}.admin-form textarea,.admin-form select,.admin-form input:not([type=hidden]):not([type=checkbox]){display:block!important;width:100%!important;max-width:100%!important;min-height:42px!important;border:1px solid #adbfce!important;border-radius:7px!important;background:white!important;color:#173149!important;padding:10px!important;font:inherit!important;margin:8px 0!important}.admin-form textarea{min-height:95px!important}.admin-form .check{display:flex!important;align-items:center!important;gap:9px!important}.admin-form input[type=checkbox]{width:auto!important}.admin-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important}.file-list>div{display:flex!important;justify-content:space-between!important;gap:15px!important;padding:10px 0!important;border-bottom:1px solid #e3e9f0!important}
.notice{padding:15px!important;border-radius:8px!important}.notice.success{color:#28523f!important;background:#eff8f0!important}.notice.error{color:#903c2d!important;background:#fff1eb!important}
footer{padding:30px max(20px,calc((100% - 1250px)/2))!important;background:#0b2135!important;color:white!important}
@media(max-width:900px){.header{flex-wrap:wrap!important}.header nav{order:3!important;overflow-x:auto!important;width:100%!important;flex-wrap:nowrap!important}.stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.project-toolbar{flex-direction:column!important;align-items:stretch!important}.admin-grid{grid-template-columns:1fr!important}}
@media(max-width:530px){.stats{grid-template-columns:1fr!important}.project-tools{flex-wrap:wrap!important}.project-tools input,.project-tools select{max-width:none!important;width:100%!important}.admin-project.project-detail{padding:16px!important}}

/* Chat first project communication, October 2026 */
.chat-panel{background:#fff!important;color:#14304a!important;border:1px solid #d4e0eb;border-radius:18px;padding:22px;margin-top:24px;box-shadow:0 10px 32px #152e4414}.chat-panel h3{color:#15324b!important;margin:4px 0;font-size:24px}.chat-panel p{color:#52687a!important}.chat-header{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}.chat-export{font-size:12px;color:#536b83!important;text-decoration:underline}.chat-scroll{background:#f5f8fc;border:1px solid #dde6ef;border-radius:14px;display:flex;flex-direction:column;gap:15px;max-height:660px;min-height:160px;overflow:auto;overscroll-behavior:contain;padding:22px;margin:18px 0;scrollbar-color:#a4b6c6 #f5f8fc}.chat-line{display:flex;width:100%}.chat-in{justify-content:flex-start}.chat-out{justify-content:flex-end}.chat-bubble{background:#fff;border:1px solid #d5e2ed;border-radius:16px 16px 16px 4px;padding:16px 19px;max-width:min(80%,740px);box-shadow:0 3px 12px #16314b0b;color:#18334d}.chat-out .chat-bubble{background:#e5f0ff;border-color:#b7d2f2;border-radius:16px 16px 4px 16px}.chat-meta{display:flex;gap:20px;justify-content:space-between;flex-wrap:wrap;font-size:13px;color:#17314b}.chat-meta time{color:#60768b;font-weight:400}.chat-text{margin:10px 0;line-height:1.6;overflow-wrap:anywhere}.chat-file{background:#fff;border:1px solid #b4cce1;border-radius:9px;padding:12px;margin-top:10px;display:flex;gap:7px;flex-direction:column}.chat-file.chat-final{background:#fff5e8;border:2px solid #ee9a34}.chat-file a{font-weight:800;color:#aa4e08!important;text-decoration:underline}.chat-caption{font-size:12px}.chat-empty{margin:auto!important}.thread-main .thread-feed{max-height:750px;overflow:auto;display:flex;background:#f3f7fc;border:1px solid #dde6ef;border-radius:14px;padding:20px;gap:15px}.thread-main .thread-entry{width:fit-content;max-width:82%;box-shadow:0 3px 12px #15324c10;border-radius:15px 15px 15px 4px;margin:0!important}.thread-main .thread-entry.from-customer{align-self:flex-end;background:#e5f0ff;border:1px solid #b7d2f2;border-radius:15px 15px 4px 15px}.thread-main .thread-entry.from-team{align-self:flex-start;background:#fff;border:1px solid #d6e2ed}.thread-main .thread-entry p{overflow-wrap:anywhere}.thread-title .portal-download{font-size:12px;color:#526b84!important}.thread-reply{position:relative;border:2px solid #d2e2f0!important}.thread-reply button{min-width:145px}.unified-update{border:2px solid #b4cce1!important;background:#f5f8fc!important}.unified-update h3{font-size:24px!important}.unified-update button{min-width:175px}@media(max-width:700px){.chat-panel{padding:14px}.chat-scroll,.thread-main .thread-feed{padding:10px}.chat-bubble,.thread-main .thread-entry{max-width:95%}.chat-meta{gap:6px;flex-direction:column}}
