/* Iraq Stores V3.6 — precise enterprise UI system */
:root{
  --studio-dark:#102d49;--studio-deep:#092038;--studio-blue:#1a5685;
  --studio-gold:#dc793b;--studio-light:#f4f7fa;--studio-line:#dbe5ef;
  --studio-muted:#60768d;--studio-green:#107b61;
}
html{scroll-behavior:smooth}
body{background:var(--studio-light);color:var(--studio-dark)}
body.intro-open{overflow:hidden}
.topbar{background:#fff!important;border-bottom:1px solid #e5eaf0!important}
.btn,.tab,.pill{border-radius:7px!important}
.btn.primary{background:var(--studio-dark)!important;color:#fff!important}
.btn.primary:hover{background:#20527c!important}
.btn.gold{background:var(--studio-gold)!important;color:#fff!important}
.panel,.features article,.plan,.directory-item,.status-banner,.admin-section{border-radius:10px!important;border:1px solid var(--studio-line)!important}
.eyebrow{color:#b85d2e}
.hero.new-hero{background:linear-gradient(125deg,#09233e,#133b62 75%,#1a507a);border-radius:12px!important}
.hero.new-hero .btn.primary{background:#e98d52!important;color:#fff!important}
.hero.new-hero .eyebrow{color:#ffc599}
.hero h1{line-height:1.26}
.plan.featured{border:1px solid #e3b18e!important;border-top:4px solid var(--studio-gold)!important;background:#fff!important}
.plan .pill,.plan .pill.soft{border-radius:4px!important;box-shadow:none}
.plan .big-price{font-variant-numeric:tabular-nums lining-nums;letter-spacing:0}
.plan-grid .plan{transition:border-color .2s ease, box-shadow .2s ease}
.plan-grid .plan:hover{border-color:#afc7d8!important;box-shadow:0 8px 24px rgba(12,44,77,.07)}
.trust-strip,.progress-steps{box-shadow:none!important}
.alert,.notice,.admin-notice,.tracking-status{border-radius:7px!important}
.launch-value-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0 30px}
.launch-value-grid article{min-width:0;padding:21px;border:1px solid var(--studio-line);background:#fff;border-radius:8px;border-top:3px solid #356991}
.launch-value-grid span{display:block;font-size:11px;color:var(--studio-blue);font-weight:800;margin-bottom:7px}
.launch-value-grid b{display:block;font-size:17px;color:var(--studio-dark)}
.launch-value-grid p{margin:5px 0 0;font-size:12px;color:var(--studio-muted);line-height:1.9}
/* Short, skippable non-metric intro. */
.launch-intro[hidden]{display:none!important}
.launch-intro{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;background:rgba(7,22,38,.97);color:#fff;padding:20px}
.launch-inner{width:min(410px,100%);text-align:center;display:grid;justify-items:center;gap:14px}
.launch-inner>img{width:58px;height:58px;border-radius:11px;background:#fff;padding:7px}
.launch-kicker{font:800 12px/1.5 Arial,sans-serif;letter-spacing:4px;color:#cbd6df}
.launch-inner>strong{font-size:24px;line-height:1.4}
.launch-meter{direction:ltr;display:flex;align-items:baseline;gap:6px;font:900 64px/1 Arial,sans-serif;letter-spacing:-2px;color:#fff;font-variant-numeric:tabular-nums}
.launch-meter small{font-size:17px;color:#84a6bf;font-weight:500;letter-spacing:0}
.launch-track{height:3px;background:#314b64;width:100%;border-radius:1px;overflow:hidden}
.launch-track i{display:block;background:var(--studio-gold);height:100%;width:1%;transition:width .08s linear}
.launch-inner p{margin:1px;color:#c4d2df;font-size:13px}
.launch-skip{border:1px solid #708499;background:transparent;color:#fff;padding:9px 20px;border-radius:6px;cursor:pointer;min-width:105px}
.launch-skip:focus-visible{outline:3px solid #e4ac78;outline-offset:3px}
/* Merchant inbox */
.merchant-inbox{margin-top:24px;margin-bottom:20px;padding:22px!important}
.inbox-header{display:flex;gap:12px;justify-content:space-between;align-items:center;border-bottom:1px solid var(--studio-line);padding-bottom:13px;margin-bottom:12px;flex-wrap:wrap}
.inbox-header h2{margin:0;font-size:21px}
.inbox-header p{margin:3px 0 0}
.inbox-count{border-radius:4px;padding:6px 10px;background:#e9f3fa;color:#1a5685;font-size:12px;font-weight:800}
.inbox-empty{padding:15px 0;margin:0;color:#75889a}
.inbox-item{padding:15px 2px;border-bottom:1px solid var(--studio-line);display:flex;gap:18px;justify-content:space-between;align-items:flex-start}
.inbox-item:last-child{border-bottom:0}
.inbox-item.unread{padding-inline-start:12px;border-inline-start:3px solid #25669a;background:#f7fbfe}
.inbox-item.inbox-warning.unread{border-inline-start-color:#d78a2b}
.inbox-item.inbox-success.unread{border-inline-start-color:#14846c}
.inbox-item h3{margin:4px 0 4px;font-size:15px}
.inbox-item p{margin:0;color:#445c74;font-size:13px;line-height:1.95;white-space:normal;overflow-wrap:anywhere}
.inbox-meta{display:flex;gap:9px;align-items:center;font-size:11px;color:#778a9c}
.inbox-meta strong{background:#e7f1fb;color:#276190;border-radius:3px;padding:2px 7px}
.shop-allocation-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;border:1px solid var(--studio-line);border-right:3px solid #277bb7;border-radius:6px;background:#fff;padding:15px 18px;margin-top:20px}
.shop-allocation-bar span{font-size:13px;font-weight:800;color:#46617a}
.shop-allocation-bar strong{font-size:18px;color:var(--studio-deep)}
.shop-allocation-bar small{margin-inline-start:auto;color:#728398}
/* Admin communication */
.admin-message-form{background:#f8fafc;border:1px solid #e0e7ef;padding:20px;border-radius:8px;margin:18px 0}
.admin-message-form .btn{justify-self:start}
.admin-message-form textarea{min-height:106px}
.admin-message-history{margin-top:20px}
.admin-message-history h3{margin:0 0 10px;color:var(--studio-dark)}
.admin-message-history article{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:11px 3px;border-bottom:1px solid #e5ebf2}
.admin-message-history article strong{font-size:13px;display:block}
.admin-message-history article small{display:block;font-size:11px;color:#778798;margin-top:5px}
.admin-message-history article>span{font-size:11px;color:#315d80;padding:4px 7px;border:1px solid #dce4ec;border-radius:4px}
.admin-limit-form{display:grid;gap:5px;min-width:168px;margin-bottom:9px}
.admin-limit-form label{font-size:10px}
.admin-limit-form input{font:700 13px Arial,sans-serif;min-width:0;padding:7px;height:38px}
.admin-limit-form .btn{padding:4px 7px;min-height:30px}
#admin-shops .product-table{overflow-x:auto}
#admin-shops td{vertical-align:top}
.admin-section .admin-nav,.admin-message-history article,.shop-allocation-bar{max-width:100%}
@media(max-width:900px){.launch-value-grid{grid-template-columns:1fr}.launch-value-grid article{padding:17px}}
@media(max-width:680px){
 .launch-intro{padding:18px}.launch-meter{font-size:57px}
 .launch-value-grid{margin:15px 0 22px;gap:10px}
 .launch-value-grid b{font-size:16px}
 .merchant-inbox{padding:16px!important}
 .inbox-item{flex-direction:column;gap:7px}
 .inbox-item form,.inbox-item button{width:100%}
 .shop-allocation-bar{flex-direction:column;align-items:flex-start}
 .shop-allocation-bar small{margin-inline-start:0}
 .admin-message-form{padding:14px}
 .admin-message-form .form-grid{grid-template-columns:1fr}
 #admin-shops .product-table{overflow-x:auto}
 #admin-shops table{min-width:780px}
}
@media(prefers-reduced-motion:reduce){.launch-track i,.plan-grid .plan{transition:none!important}}
.shops-mobile-list{display:none}
.shops-mobile-card[hidden]{display:none!important}
@media(max-width:760px){
 #admin-shops .product-table{display:none!important}
 .shops-mobile-list{display:grid;gap:10px}
 .shops-mobile-card{border:1px solid var(--studio-line);background:#fff;border-radius:6px;padding:15px;display:grid;gap:10px}
 .shops-mobile-heading{display:flex;gap:10px;align-items:start;justify-content:space-between;border-bottom:1px solid var(--studio-line);padding-bottom:10px}
 .shops-mobile-heading strong{font-size:15px;overflow-wrap:anywhere}
 .shops-mobile-line{display:flex;align-items:baseline;gap:15px;justify-content:space-between;font-size:12px;min-width:0}
 .shops-mobile-line>span{color:#78899b;flex:0 0 auto}
 .shops-mobile-line b,.shops-mobile-line bdi{max-width:64%;min-width:0;overflow-wrap:anywhere;text-align:left}
 .shops-mobile-card .admin-limit-form{border-top:1px solid #e8eef4;margin-top:3px;padding-top:12px;min-width:0;display:grid;grid-template-columns:1fr auto;gap:9px;align-items:end}
 .shops-mobile-card .admin-limit-form label{min-width:0}
 .shops-mobile-card .admin-limit-form input{width:100%}
 .shops-mobile-toggle{margin-top:2px}
}
