/* DigitalOcean page only: How We Work drawn as a DigitalOcean-style control panel (.dop), on the technology page kit's
   step mechanics and 640 x 420 canvas (tech-page.css / tech-page.js), as the Google Cloud and AWS pages draw their
   consoles. Generic shapes only: no DigitalOcean logo, no shark or wave mark, no product icons. The panel's blue
   (#0069ff) is used for fills; text in blue is #0050c8 and text in green #0a7a3e so both meet 4.5:1 on white. The nav
   item that matches the active step is lit with :has(). Loaded late (preload + onload), the section is below the fold. */
.hwj .dop{position:absolute;inset:0;display:grid;grid-template-rows:36px minmax(0,1fr);background:#fff;color:#031b4e;font-family:"Segoe UI",-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif}
/* Top bar: a plain square for the account, search, the blue Create button, two round buttons and the user */
.dop__bar{display:flex;align-items:center;gap:10px;padding:0 12px;border-bottom:1px solid #e5e8ed;background:#fff;font-size:10.5px}
.dop__org{flex:none;width:20px;height:20px;border-radius:5px;background:#031b4e;position:relative}
.dop__org::after{content:"";position:absolute;inset:6px;border:2px solid #fff;border-radius:2px}
.dop__search{display:flex;align-items:center;gap:7px;flex:1;min-width:0;height:24px;padding:0 10px;border:1px solid #e5e8ed;border-radius:6px;background:#f7f8fa;font-size:10px;color:#5b6987;white-space:nowrap;overflow:hidden}
.dop__search::before{content:"";flex:none;width:8px;height:8px;border:1.5px solid #5b6987;border-radius:50%}
.dop__create{display:inline-flex;align-items:center;gap:6px;flex:none;height:24px;padding:0 10px;border-radius:5px;background:#0069ff;font-size:10.5px;font-weight:600;color:#fff;white-space:nowrap}
.dop__create::after{content:"";width:0;height:0;border:3.5px solid transparent;border-top:4px solid #fff;border-bottom:0}
.dop__icons{display:flex;gap:8px}
.dop__icons i{width:14px;height:14px;border:1.5px solid #8690a6;border-radius:50%}
.dop__me{display:flex;align-items:center;justify-content:center;flex:none;width:22px;height:22px;border-radius:50%;background:#00744a;font-size:10px;font-weight:600;color:#fff}
/* Left nav and content */
.dop__body{display:grid;grid-template-columns:124px minmax(0,1fr);min-height:0}
.dop__nav{display:flex;flex-direction:column;padding:8px 8px 8px 0;border-right:1px solid #e5e8ed;background:#f7f8fa;overflow:hidden}
.dop__nav > span{display:flex;align-items:center;gap:8px;flex:none;height:23px;padding:0 8px 0 12px;border-left:3px solid transparent;font-size:10.5px;color:#31405e;white-space:nowrap;transition:background-color .3s,color .3s,border-color .3s}
.dop__nav > span::before{content:"";flex:none;width:9px;height:9px;border:1.5px solid #8690a6;border-radius:2px;transition:border-color .3s,background-color .3s}
.dop__nav > small{display:block;flex:none;margin:8px 0 3px;padding-left:15px;font-size:8.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#5b6987;white-space:nowrap}
.dop__nav > small:first-child{margin-top:2px}
.dop__nav > .dop__bill{margin-top:auto}
.dop:has(#hwj-s0.is-active) [data-nav="proj"],
.dop:has(#hwj-s1.is-active) [data-nav="drop"],
.dop:has(#hwj-s2.is-active) [data-nav="net"],
.dop:has(#hwj-s3.is-active) [data-nav="app"],
.dop:has(#hwj-s4.is-active) [data-nav="db"],
.dop:has(#hwj-s5.is-active) [data-nav="mon"]{border-left-color:#0069ff;background:#e5efff;font-weight:600;color:#0050c8}
.dop:has(#hwj-s0.is-active) [data-nav="proj"]::before,
.dop:has(#hwj-s1.is-active) [data-nav="drop"]::before,
.dop:has(#hwj-s2.is-active) [data-nav="net"]::before,
.dop:has(#hwj-s3.is-active) [data-nav="app"]::before,
.dop:has(#hwj-s4.is-active) [data-nav="db"]::before,
.dop:has(#hwj-s5.is-active) [data-nav="mon"]::before{border-color:#0069ff;background:#0069ff}
.dop__main{position:relative;min-height:0;background:#fff}
.hwj .dop .hwj__scene{padding:0}
/* Page header, tabs, then the page */
.dop-hd{display:flex;align-items:center;gap:8px;height:38px;padding:0 14px;border-bottom:1px solid #e5e8ed}
.dop-hd b{font-size:14px;font-weight:600;color:#031b4e;white-space:nowrap}
.dop-hd small{font-size:10.5px;color:#5b6987;white-space:nowrap}
.dop-hd > small + *,.dop-hd > b + :not(small){margin-left:auto}
.dop-tabs{display:flex;gap:4px;height:26px;padding:0 10px;border-bottom:1px solid #e5e8ed}
.dop-tabs span{display:flex;align-items:center;padding:0 8px;border-bottom:2px solid transparent;font-size:10px;font-weight:500;color:#5b6987}
.dop-tabs span.is-on{border-bottom-color:#0069ff;color:#0050c8;font-weight:600}
.dop-pg{padding:10px 12px}
/* Panel parts */
.dop-card{border:1px solid #e5e8ed;border-radius:8px;background:#fff}
.dop-t{display:block;font-size:11.5px;font-weight:600;color:#031b4e}
.dop-s{display:block;font-size:10px;color:#5b6987}
.dop-link{font-size:10px;font-weight:600;color:#0050c8}
.dop-btn{display:inline-flex;align-items:center;height:22px;padding:0 11px;border-radius:5px;background:#0069ff;font-size:10px;font-weight:600;color:#fff;white-space:nowrap}
.dop-chip{display:inline-flex;align-items:center;gap:4px;height:17px;padding:0 7px;border-radius:999px;background:#eef1f5;font-size:9.5px;font-weight:600;color:#31405e;white-space:nowrap}
.dop-chip--ok{background:#e7f8ef;color:#0a7a3e}
.dop-chip--ok::before{content:"";width:6px;height:6px;border-radius:50%;background:#15cd72}
.dop-chip--info{background:#e5efff;color:#0050c8}
.dop-chip--warn{background:#fff4e0;color:#8a4b00}
.dop-th{display:grid;align-items:center;height:24px;padding:0 10px;border-bottom:1px solid #e5e8ed;background:#f7f8fa;font-size:9px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#5b6987}
/* status dot: green when running */
.dop-dot{flex:none;width:7px;height:7px;border-radius:50%;background:#15cd72;box-shadow:0 0 0 2px #e7f8ef}
.dop-ck{position:relative;flex:none;width:18px;height:18px}
.dop-ck::before{content:"";position:absolute;inset:0;border:1.5px solid #d3d8e0;border-radius:50%}
.dop-ck i{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#0a7a3e;color:#fff;transform:scale(0)}
.hwj .dop-ck .i,.hwj .dop3__ok .i,.hwj .dop4__ok .i{width:10px;height:10px}
.hwj .is-active .dop-ck i{animation:hwjPop .3s var(--ease) calc(var(--d,0) * 380ms + 700ms) forwards}
/* generic resource marks: a tinted rounded square with a plain shape, never a product icon */
.dop-ic{position:relative;flex:none;width:16px;height:16px;border-radius:4px;background:#e5efff}
.dop-ic::after{content:"";position:absolute;inset:4px;border:1.5px solid #0069ff;border-radius:2px}
.dop-ic--vm::after{inset:4px 3px;border-width:1.5px 1.5px 4px}
.dop-ic--app::after{inset:5px;border:0;border-radius:50%;background:#0069ff}
.dop-ic--db::after{border-radius:50%/35%}
.dop-ic--sp::after{inset:5px 3px;border-radius:1px}
.dop-ic--lb::after{inset:4px 3px;border-width:1.5px 0;border-radius:0}
.dop-ic--user{background:#eef1f5}
.dop-ic--user::after{inset:3px 5px 7px;border-color:#5b6987;border-radius:50%}
@keyframes dopGrow{to{transform:scaleX(1)}}

/* 1. Discovery call: the project page, a brief filled in from the call */
.dop0{display:grid;grid-template-columns:1.4fr 1fr;gap:10px;align-items:start}
.dop0__brief{padding:11px 13px}
.dop0__bar{height:4px;margin:9px 0 2px;border-radius:999px;background:#eef1f5;overflow:hidden}
.dop0__bar i{display:block;width:100%;height:100%;background:#0069ff;transform:scaleX(0);transform-origin:left}
.hwj .is-active .dop0__bar i{animation:dopGrow 1.9s ease-out .9s forwards}
.dop0__row{display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px solid #f0f2f5}
.dop0__row:first-of-type{margin-top:8px}
.dop0__row div{flex:1}
.dop0__row .sk{height:6px;margin-top:6px;background:#eef1f5}
.dop0__row--goal .dop-t{color:#0a7a3e}
.dop0__side{display:flex;flex-direction:column;gap:10px}
.dop0__info{padding:11px 12px}
.dop0__info dl,.dop3__app dl{display:grid;grid-template-columns:auto 1fr;gap:6px 10px;margin:9px 0 0;font-size:10px}
.dop0__info dt,.dop3__app dt{color:#5b6987}
.dop0__info dd,.dop3__app dd{margin:0;font-weight:600;color:#031b4e;text-align:right}
.dop0__info .dop-link{display:block;margin-top:10px;padding-top:8px;border-top:1px solid #f0f2f5}
.dop0__call{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:11px 12px}
.dop0__avs{display:flex}
.dop0__avs span{display:flex;align-items:center;justify-content:center;width:32px;height:32px;margin-left:-7px;border:2px solid #fff;border-radius:50%;background:#eef1f5;font-size:9px;font-weight:600;color:#31405e}
.dop0__avs span:first-child{margin-left:0}
.dop0__avs span:last-child{background:#00B26B;color:#04150D}

/* 2. Plan and scope: the create-Droplet flow, region, image and size picked, with the monthly estimate */
.dop1{display:flex;flex-direction:column;gap:8px}
.dop1__step{padding:8px 11px}
.dop1__lbl{display:flex;align-items:center;gap:7px;font-size:10.5px;font-weight:600;color:#031b4e}
.dop1__lbl em{display:flex;align-items:center;justify-content:center;width:15px;height:15px;border-radius:50%;background:#eef1f5;font-size:8.5px;font-style:normal;color:#31405e}
.dop1__opts{display:flex;gap:6px;margin-top:7px}
.dop1__opt{display:flex;align-items:center;gap:6px;flex:1;min-width:0;height:26px;padding:0 8px;border:1px solid #e5e8ed;border-radius:6px;font-size:10px;color:#31405e;white-space:nowrap;overflow:hidden}
.dop1__opt::before{content:"";flex:none;width:9px;height:9px;border:1.5px solid #8690a6;border-radius:50%}
.dop1__sizes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:7px}
.dop1__size{padding:7px 9px;border:1px solid #e5e8ed;border-radius:6px}
.dop1__size .sk{height:5px;margin-top:6px;background:#eef1f5}
.dop1__size .sk + .sk{width:60%}
.hwj .is-active .dop1__pick{animation:dopPick .35s ease calc(var(--d,0) * 300ms + 1.1s) forwards}
.hwj .is-active .dop1__pick::before{animation:dopRadio .35s ease calc(var(--d,0) * 300ms + 1.1s) forwards}
@keyframes dopPick{to{border-color:#0069ff;background:#f5f9ff;box-shadow:0 0 0 1px #0069ff;color:#0050c8}}
@keyframes dopRadio{to{border-color:#0069ff;background:#0069ff;box-shadow:inset 0 0 0 2px #fff}}
.dop1__sum{display:flex;align-items:center;gap:10px;padding:8px 11px;border-radius:8px;background:#f7f8fa;border:1px solid #e5e8ed}
.dop1__sum span{font-size:10.5px;font-weight:600;white-space:nowrap}
.dop1__sum .sk{flex:1;height:7px;background:#dfe4eb;position:relative;overflow:hidden}
.dop1__sum .sk i{position:absolute;inset:0;width:46%;border-radius:inherit;background:#0069ff;transform:scaleX(0);transform-origin:left}
.hwj .is-active .dop1__sum .sk i{animation:dopGrow 1s ease-out 2.2s forwards}

/* 3. Architecture: the VPC drawn in Networking, with the Terraform beside it */
.dop2{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:10px;height:calc(100% - 64px)}
.dop2__map{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px;background:#f7f8fa;background-image:radial-gradient(#d3d8e0 1px,transparent 1.2px);background-size:14px 14px}
.dop2__vpc{display:flex;flex-direction:column;align-items:center;padding:16px 10px 10px;border:1.5px dashed #8fb4ff;border-radius:10px;background:rgba(229,239,255,.45);position:relative}
.dop2__vpc > em{position:absolute;left:8px;top:4px;font-size:8.5px;font-style:normal;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#0050c8}
.dop2__node{display:flex;align-items:center;gap:7px;width:112px;height:30px;padding:0 9px;border:1px solid #e5e8ed;border-radius:6px;background:#fff;box-shadow:0 1px 2px rgba(3,27,78,.12);font-size:10.5px;font-weight:600;white-space:nowrap}
.dop2__node--user{width:auto;border-radius:999px}
.dop2__node--key{border-color:#0069ff;box-shadow:0 0 0 1px #0069ff}
.dop2__ln{display:block;width:1.5px;height:12px;background:#8690a6}
.dop2__fork{display:block;width:128px;height:12px;border:1.5px solid #8690a6;border-bottom:0;border-radius:4px 4px 0 0;position:relative}
.dop2__fork::before{content:"";position:absolute;left:calc(50% - .75px);top:-8px;width:1.5px;height:7px;background:#8690a6}
.dop2__fork--up{border:1.5px solid #8690a6;border-top:0;border-radius:0 0 4px 4px}
.dop2__fork--up::before{top:auto;bottom:-8px}
.dop2__pair{display:flex;gap:16px}
.dop2__code{padding:10px 12px;border-radius:8px;background:#031b4e;overflow:hidden}
.dop2__file{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;padding-bottom:7px;border-bottom:1px solid rgba(255,255,255,.14)}
.dop2__file b{font-size:10.5px;font-weight:600;color:#fff}
.dop2__file span{font-size:9px;color:#b9c3d9}
.dop2__code .s3__ln{height:6px;margin-bottom:10px}

/* 4. Build on staging: App Platform activity, the newest deploy building then live, with its build log */
.dop3{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 176px;gap:10px;height:calc(100% - 64px);align-items:start}
.dop3__list{overflow:hidden}
.dop3__list .dop-th,.dop3__row{grid-template-columns:22px 60px minmax(0,1fr) 54px}
.dop3__row{display:grid;align-items:center;height:30px;padding:0 10px;border-bottom:1px solid #f0f2f5;font-size:10.5px;color:#31405e}
.dop3__row:last-child{border-bottom:0}
.dop3__row .dop-link{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px}
.dop3__row small{font-size:9.5px;color:#5b6987;text-align:right}
.dop3__st{position:relative;width:16px;height:16px}
.dop3__ok{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#0a7a3e;color:#fff}
.dop3__row--new{background:#f5f9ff}
.dop3__spin{position:absolute;inset:1px;border:2px solid #e5e8ed;border-top-color:#0069ff;border-radius:50%;animation:hwjSpin .8s linear infinite}
.dop3__row--new .dop3__ok{transform:scale(0)}
.hwj .is-active .dop3__spin{animation:hwjSpin .8s linear infinite,hwjOut .2s ease 2.4s forwards}
.hwj .is-active .dop3__row--new .dop3__ok{animation:hwjPop .3s var(--ease) 2.45s forwards}
.dop3__log{grid-column:2;grid-row:1/span 2;padding:9px 11px;border-radius:8px;background:#031b4e;overflow:hidden}
.dop3__log b{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;padding-bottom:6px;border-bottom:1px solid rgba(255,255,255,.14);font-size:10px;font-weight:600;color:#fff}
.dop3__log b span{font-size:9px;font-weight:400;color:#b9c3d9}
.dop3__log .s3__ln{height:5px;margin-bottom:8px}
.dop3__done{display:inline-flex;align-items:center;gap:5px;margin-top:2px;font-size:9.5px;font-weight:600;color:#7fe3ae;opacity:0}
.hwj .is-active .dop3__done{animation:hwjIn .35s ease 2.5s both}
.dop3__app{grid-column:1;width:220px;padding:10px 12px}
.dop3__list .dop-th span:last-child{text-align:right}
.dop3 .s3__msg{max-width:190px;font-size:11.5px;line-height:16px;padding:8px 12px}
.dop3 .s3__msg--you{right:14px;bottom:54px}
.dop3 .s3__msg--us{right:30px;bottom:10px}
.dop3 .s3__msg--us .i{color:#0a7a3e}

/* 5. Tests and launch: the launch checks pass, and a backup is restored before switch-over */
.dop4{display:grid;grid-template-columns:1fr 1.05fr;gap:10px;align-items:start}
.dop4__checks{padding:10px 12px 4px}
.dop4__checks .dop-t{margin-bottom:5px}
.dop4__row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 0;border-top:1px solid #f0f2f5;font-size:10.5px;color:#31405e;white-space:nowrap}
.dop4__st{position:relative;flex:none;width:16px;height:16px}
.dop4__spin{position:absolute;inset:1px;border:2px solid #e5e8ed;border-top-color:#0069ff;border-radius:50%;animation:hwjSpin .8s linear infinite}
.dop4__ok{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#0a7a3e;color:#fff;transform:scale(0)}
.hwj .is-active .dop4__spin{animation:hwjSpin .8s linear infinite,hwjOut .2s ease calc(var(--d) * 300ms + 500ms) forwards}
.hwj .is-active .dop4__ok{animation:hwjPop .3s var(--ease) calc(var(--d) * 300ms + 520ms) forwards}
.dop4__bk{overflow:hidden}
.dop4__bk .dop-th{grid-template-columns:minmax(0,1fr) 62px}
.dop4__bkrow{display:grid;grid-template-columns:12px minmax(0,1fr) 62px;align-items:center;gap:6px;height:28px;padding:0 10px;border-bottom:1px solid #f0f2f5;font-size:10px;color:#31405e}
.dop4__bkrow small{font-size:9.5px;color:#5b6987;text-align:right}
.dop4__restore{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px}
.dop4__restore > span:first-child{font-size:10.5px;font-weight:600}
.dop4__pub{position:relative;width:86px;height:20px}
.dop4__pub > *{position:absolute;right:0;top:1px}
.dop4__live{opacity:0}
.hwj .is-active .dop4__btn{animation:hwjOut .25s ease 2.1s forwards}
.hwj .is-active .dop4__live{animation:hwjIn .4s var(--ease) 2.3s both}
.dop4__note{display:block;padding:0 10px 9px;font-size:9.5px;line-height:13px;color:#5b6987}

/* 6. Run and grow: Monitoring graphs, the resources with their status, and the billing view */
.dop-range{display:flex;border:1px solid #e5e8ed;border-radius:5px;overflow:hidden}
.dop-range span{padding:2px 7px;border-left:1px solid #e5e8ed;font-size:9.5px;font-weight:600;color:#5b6987}
.dop-range span:first-child{border-left:0}
.dop-range span.is-on{background:#e5efff;color:#0050c8}
.dop5{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr) auto;gap:10px;height:calc(100% - 38px)}
.dop5__chart{display:flex;flex-direction:column;padding:10px 12px;min-height:0}
.dop5__ch{display:flex;align-items:baseline;justify-content:space-between;gap:6px;margin-bottom:6px}
.dop5__plot{position:relative;flex:1;min-height:0;background-image:linear-gradient(#f0f2f5 1px,transparent 1px);background-size:100% 25%;border-bottom:1px solid #e5e8ed}
.dop5__plot svg{position:absolute;inset:0;width:100%;height:100%;clip-path:inset(0 100% 0 0)}
.hwj .is-active .dop5__plot svg{animation:hwjDraw 1.6s ease-out .5s forwards}
.dop5__line{fill:none;stroke:#0069ff;stroke-width:2;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.dop5__line--bw{stroke:#7a5cff}
.dop5__area{fill:rgba(0,105,255,.1)}
.dop5__res{padding:6px 0 2px}
.dop5__res .dop-t{padding:0 12px 4px}
.dop5__rrow{display:grid;grid-template-columns:16px minmax(0,1fr) auto;align-items:center;gap:7px;height:24px;padding:0 12px;border-top:1px solid #f0f2f5;font-size:10px;font-weight:600;color:#031b4e;white-space:nowrap}
.dop5__rrow small{display:inline-flex;align-items:center;gap:5px;font-size:9.5px;font-weight:500;color:#0a7a3e}
.dop5__bill{display:flex;flex-direction:column;padding:10px 12px}
.dop5__bh{display:flex;align-items:center;justify-content:space-between;gap:6px}
.dop5__track{position:relative;height:9px;margin-top:12px;border-radius:999px;background:#eef1f5}
.dop5__track i{position:absolute;left:0;top:0;bottom:0;width:52%;border-radius:inherit;background:#0069ff;transform:scaleX(0);transform-origin:left}
.hwj .is-active .dop5__track i{animation:dopGrow 1.4s ease-out 1s forwards}
.dop5__track em{position:absolute;left:85%;top:-3px;bottom:-3px;width:2px;background:#5b6987}
.dop5__legend{display:flex;justify-content:space-between;gap:6px;margin-top:7px;font-size:9.5px;color:#5b6987}
.dop5__legend span:first-child{display:inline-flex;align-items:center;gap:5px}
.dop5__legend span:first-child::before{content:"";width:8px;height:8px;border-radius:2px;background:#0069ff}
.dop5__keep{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:10px}
.dop5__keep span{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border:1px solid #e5e8ed;border-radius:999px;font-size:9.5px;font-weight:600;color:#31405e}
.dop5__keep span::before{content:"";width:6px;height:6px;border-radius:50%;background:#15cd72}

/* Neutral browser bar, so the screen reads as the panel rather than the site's green */
.hwj .hwj__browser{border-color:#e5e8ed}
.hwj .hwj__bar{background:linear-gradient(180deg,#f3f3f3,#e8e8e8);border-bottom:1px solid #d4d4d4}
.hwj .hwj__url{background:#fff;border-color:#dcdcdc;color:#5b6987}
.hwj .hwj__status.is-live{background:#e7f8ef;color:#0a7a3e}
