/* Standalone Courier Plot portal; independent of WordPress admin UI */
.cplot-body:has(.cp-portal){background:#f2f6f7;margin:0}.cp-portal *,.cp-portal-login *{box-sizing:border-box}.cp-portal{display:flex;min-height:100vh;font-family:Inter,system-ui,-apple-system,sans-serif;color:#203437}.cp-portal-sidebar{width:245px;flex:none;background:#103d41;color:#dce9e8;min-height:100vh;padding:28px 17px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.cp-portal-logo{font-size:24px;font-weight:800;text-decoration:none;color:white!important;letter-spacing:-1px;padding:2px 13px 32px}.cp-portal-logo span{color:#c8ed65}.cp-portal-logo small{font-size:9px;letter-spacing:1.5px;display:block;color:#a9c6c5;margin-top:8px}.cp-portal-nav-label{font-size:10px;letter-spacing:1.5px;padding:0 13px 12px;color:#91bab7}.cp-portal-nav{display:flex;flex-direction:column;gap:5px}.cp-portal-nav a{color:#d2e5e3!important;text-decoration:none;padding:12px 14px;border-radius:10px;font-weight:600;font-size:13px}.cp-portal-nav a:hover,.cp-portal-nav a.active{background:#245a5b;color:#fff!important}.cp-portal-side-foot{margin-top:auto;border-top:1px solid #35666a;display:flex;flex-direction:column;gap:10px;padding:18px 13px;font-size:13px}.cp-portal-side-foot a{color:#c8ed65}.cp-portal-main{min-width:0;flex:1}.cp-portal-top{padding:24px 38px;background:white;border-bottom:1px solid #e2e9e9;display:flex;align-items:center;gap:15px;justify-content:space-between}.cp-portal-top h1{margin:4px 0 0;font-size:26px;letter-spacing:-.7px;color:#153a3e}.cp-portal-kicker{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#608384}.cp-portal-user{border:1px solid #e1ebeb;padding:10px 15px;border-radius:50px;font-size:12px;font-weight:700}.cp-portal-content{max-width:1480px;margin:auto;padding:30px 38px 70px}.cp-portal-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.cp-portal-stats article{background:white;padding:22px;border:1px solid #e0e9e8;border-radius:14px}.cp-portal-stats span{display:block;font-size:12px;color:#607e81;margin-bottom:11px}.cp-portal-stats strong{font-size:29px;color:#133f40}.cp-portal-two{display:grid;grid-template-columns:1.4fr 1fr;gap:18px}.cp-portal-card{background:#fff;border:1px solid #dfe9e8;padding:25px;border-radius:16px;margin-bottom:18px;box-shadow:0 3px 15px rgba(25,67,67,.025)}.cp-portal-card h2{font-size:19px;color:#153a3e;margin:0 0 12px}.cp-portal-card h3{font-size:15px;color:#17474a;margin-top:24px}.cp-portal-card p{color:#577579;line-height:1.7;font-size:13px}.cp-portal-card-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.cp-portal-card-head a{color:#127b77;font-size:12px}.cp-portal-feed{display:grid;grid-template-columns:135px 1fr auto;gap:12px;align-items:center;border-bottom:1px solid #ebf0f0;text-decoration:none;padding:16px 0;font-size:13px;color:#26474b}.cp-portal-feed em{font-style:normal;background:#ebf4ed;color:#2e7459;padding:6px 10px;border-radius:100px;font-size:11px}.cp-portal-actions{display:grid;gap:8px}.cp-portal-actions a{display:block;padding:12px 14px;background:#eff6f5;color:#17645f;border-radius:9px;text-decoration:none;font-weight:700;font-size:13px}.cp-muted{font-size:12px!important;color:#71898b!important}.cp-portal-order{padding:20px 0;border-bottom:1px solid #e4eceb}.cp-portal-order-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}.cp-portal-order-heading strong{font-size:15px}.cp-portal-order-heading span{display:block;color:#708486;font-size:12px;margin-top:4px}.cp-portal-status{border-radius:50px;background:#ecf3f2;padding:7px 12px;white-space:nowrap;color:#296462}.cp-portal-route{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:17px 0}.cp-portal-route div{background:#f4f8f8;padding:14px;border-radius:9px;font-size:13px;line-height:1.5}.cp-portal-route small{display:block;color:#709191;font-size:10px;font-weight:800;letter-spacing:1px;margin-bottom:5px}.cp-portal-inline-actions{display:flex;flex-wrap:wrap;gap:9px}.cp-portal-inline-actions form{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.cp-portal-inline-actions input,.cp-portal-inline-actions select,.cp-portal-settings input{padding:11px;border:1px solid #cbdcda;border-radius:7px;min-width:95px;max-width:200px;background:white;color:#183f42}.cp-portal-inline-actions button,.cp-portal-primary{display:inline-block;background:#0c7770!important;color:white!important;border:0;border-radius:8px;padding:11px 14px;font-size:12px;font-weight:700;cursor:pointer;text-decoration:none}.cp-portal-inline-actions button.cp-danger{background:#a24444!important}.cp-portal-table-wrap{overflow:auto}.cp-portal table{width:100%;border-collapse:collapse;font-size:13px}.cp-portal th,.cp-portal td{padding:13px 10px;border-bottom:1px solid #e9efee;text-align:left;vertical-align:top}.cp-portal th{font-size:11px;letter-spacing:.4px;color:#688282}.cp-portal-settings h3{border-bottom:1px solid #e2eceb;padding-bottom:10px}.cp-portal-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.cp-portal-fields label{font-size:12px;font-weight:700;color:#355f61}.cp-portal-fields input{display:block;margin-top:7px;width:100%;max-width:none}.cp-portal-checkboxes{display:flex;gap:15px;flex-wrap:wrap;margin:15px 0 25px}.cp-portal-checkboxes label{font-size:13px}.cp-portal-alert{background:#e8f9df;color:#1c643f;border:1px solid #add79d;border-radius:10px;padding:17px;margin-bottom:20px}.cp-portal-login{min-height:100vh;display:grid;place-items:center;background:#edf5f3;padding:30px}.cp-portal-login-card{width:min(450px,100%);background:#fff;border-radius:19px;padding:40px;box-shadow:0 18px 65px #18474412}.cp-portal-login-card h1{font-size:30px;color:#194b4b}.cp-portal-login-card label{display:block;margin-top:12px}.cp-portal-login-card input[type=text],.cp-portal-login-card input[type=password]{width:100%;padding:12px;border:1px solid #cbdad8;border-radius:9px}.cp-portal-login-card input[type=submit]{background:#0d716a;color:white;border:0;border-radius:9px;padding:12px 25px;cursor:pointer}.cp-portal-login-card .cp-logo{font-weight:800;font-size:23px;color:#103b40;text-decoration:none}.cp-portal-login-card .cp-logo span{color:#7c9d28}.cp-portal #cp-portal-menu{display:none;background:white;border:1px solid #c6d6d3;border-radius:8px;padding:8px 10px}.cp-portal .cp-app-container{padding:0;max-width:none}.cp-portal .cp-courier{margin:0}.cp-portal .cp-app-head{padding:0 0 18px}.cp-portal .cp-panel{box-shadow:none}
@media(max-width:1050px){.cp-portal-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-portal-two{grid-template-columns:1fr}.cp-portal-sidebar{width:212px}.cp-portal-top,.cp-portal-content{padding-left:22px;padding-right:22px}}
@media(max-width:720px){.cp-portal-sidebar{position:fixed;left:-270px;top:0;z-index:9999;width:255px;transition:left .18s}.cp-portal-open .cp-portal-sidebar{left:0}.cp-portal #cp-portal-menu{display:block}.cp-portal-top{padding:18px}.cp-portal-top h1{font-size:21px}.cp-portal-user{display:none}.cp-portal-content{padding:20px 12px}.cp-portal-stats{gap:9px}.cp-portal-stats article{padding:15px}.cp-portal-stats strong{font-size:22px}.cp-portal-feed{grid-template-columns:1fr auto}.cp-portal-feed span{grid-column:1/-1;grid-row:2}.cp-portal-card{padding:18px}.cp-portal-route,.cp-portal-fields{grid-template-columns:1fr}.cp-portal-order-heading{align-items:flex-start}.cp-portal-login-card{padding:26px}}

.cp-portal-settings textarea{width:100%;min-height:96px;padding:12px;border:1px solid #ccd7dc;border-radius:10px;font:inherit;resize:vertical}.cp-portal-settings textarea:focus{outline:2px solid #21a393;outline-offset:2px}


/* v2.3: Unified Courier Plot form components. Scoped to branded app only. */
.cplot-body .cp-portal-login *, .cplot-body .cp-portal * {box-sizing:border-box;}
.cplot-body .cp-portal-login-card {max-width:470px; width:100%;}
.cplot-body .cp-portal-login-card h1 {margin:20px 0 8px;line-height:1.2;letter-spacing:-.035em;}
.cplot-body .cp-portal-login-card > p {margin:0 0 22px;line-height:1.6;}
.cplot-body .cp-portal-login-card form.cp-portal-settings,
.cplot-body .cp-portal-login-card form#loginform {display:grid;grid-template-columns:minmax(0,1fr);gap:17px;margin:20px 0 16px;min-width:0;}
.cplot-body .cp-portal-login-card form.cp-portal-settings > label,
.cplot-body .cp-portal-login-card #loginform > p:not(.login-remember) {display:flex;flex-direction:column;gap:7px;margin:0;min-width:0;}
.cplot-body .cp-portal-login-card #loginform > p label,
.cplot-body .cp-portal-login-card form.cp-portal-settings > label,
.cplot-body .cp-portal-settings .cp-portal-fields > label {font-size:13px;font-weight:700;line-height:1.4;color:#31575a;}
.cplot-body .cp-portal-login-card :is(input:not([type=hidden]):not([type=checkbox]):not([type=submit]),select),
.cplot-body .cp-portal-settings :is(input:not([type=hidden]):not([type=checkbox]):not([type=submit]),select,textarea),
.cplot-body .cp-portal-inline-actions :is(input:not([type=hidden]),select) {display:block;width:100%;max-width:100%;min-width:0;min-height:46px;margin:7px 0 0;padding:11px 13px;border:1px solid #c5d7d7;border-radius:10px;background:#fbfdfd;color:#203f42;font:inherit;font-size:14px;line-height:1.35;box-shadow:none;transition:border-color .15s,box-shadow .15s;}
.cplot-body .cp-portal-login-card :is(input,select):focus-visible,
.cplot-body .cp-portal-settings :is(input,select,textarea):focus-visible,
.cplot-body .cp-portal-inline-actions :is(input,select):focus-visible {outline:0;border-color:#0c8079;box-shadow:0 0 0 3px rgba(12,128,121,.16);}
.cplot-body .cp-portal-settings :is(input,select,textarea):disabled {background:#f0f3f3;color:#687c7e;cursor:not-allowed;}
.cplot-body .cp-portal-settings textarea {min-height:104px;resize:vertical;}
.cplot-body .cp-portal-login-card .cp-portal-primary,
.cplot-body .cp-portal-login-card #wp-submit {width:100%;min-height:47px;display:inline-flex;justify-content:center;align-items:center;margin:5px 0 0;padding:12px 18px;border-radius:10px;font-weight:750;}
.cplot-body .cp-portal-login-card #loginform .login-remember {margin:0;}
.cplot-body .cp-portal-login-card #loginform .login-remember label {display:inline-flex;align-items:center;gap:9px;font-size:13px;}
.cplot-body .cp-portal-login-card #loginform .login-remember input {width:16px;height:16px;margin:0;}
.cplot-body .cp-portal-settings .cp-portal-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px;}
.cplot-body .cp-portal-settings .cp-portal-fields > label {display:flex;flex-direction:column;gap:0;min-width:0;}
.cplot-body .cp-portal-settings > .cp-portal-primary {min-height:44px;margin-top:20px;}
.cplot-body .cp-portal-settings .cp-portal-checkboxes label {display:inline-flex;gap:9px;align-items:center;}
.cplot-body .cp-portal-settings .cp-portal-checkboxes input[type=checkbox] {width:16px;height:16px;flex:0 0 16px;margin:0;accent-color:#0c7770;}
.cplot-body .cp-portal-inline-actions form {min-width:0;align-items:end;}
.cplot-body .cp-portal-inline-actions input,.cplot-body .cp-portal-inline-actions select {width:auto;min-width:115px;max-width:180px;margin:0;}
.cplot-body .cp-portal-inline-actions button {min-height:46px;}
@media(max-width:720px){
 .cplot-body .cp-portal-login {padding:18px 12px;}
 .cplot-body .cp-portal-login-card {padding:28px 20px;}
 .cplot-body .cp-portal-settings .cp-portal-fields {grid-template-columns:minmax(0,1fr);gap:16px;}
 .cplot-body .cp-portal-inline-actions form {width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
 .cplot-body .cp-portal-inline-actions form :is(input,select) {width:100%;max-width:none;min-width:0;}
 .cplot-body .cp-portal-inline-actions form button {grid-column:1/-1;}
}
