*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html,
body{
  width:100%;
  height:100%;
  overflow:hidden;
}

body{
  background:#f4f6fb;
  font-family:Arial,Helvetica,sans-serif;
  color:#07133d;
}

/* APP */

.app-shell{

  width:100%;
  max-width:700px;

  height:100vh;

  margin:0 auto;

  padding:14px 18px 165px;

  display:flex;
  flex-direction:column;

  gap:16px;
}

/* HEADER */

.top-header{

  display:flex;
  flex-direction:column;

  align-items:center;
  justify-content:center;

  text-align:center;

  flex-shrink:0;
}

.logo{

  font-size:64px;

  line-height:.95;

  font-weight:900;

  letter-spacing:-3px;
}

.subtitle{

  margin-top:2px;

  font-size:16px;

  font-weight:700;

  color:#5f6981;
}

/* CLIENT CARD */

.client-card{

  background:
  linear-gradient(
    135deg,
    #3f6fff,
    #2149dc
  );

  border-radius:38px;

  padding:24px 22px;

  color:white;

  box-shadow:
  0 18px 36px rgba(45,82,255,.24);

  display:flex;
  flex-direction:column;

  align-items:center;
  justify-content:center;

  text-align:center;

  user-select:none;

  touch-action:pan-y;

  flex-shrink:0;
}

.swipe-label{

  font-size:12px;

  font-weight:800;

  letter-spacing:6px;

  opacity:.9;

  margin-bottom:18px;
}

.client-name{

  font-size:28px;

  font-weight:800;

  line-height:1.1;

  margin-bottom:12px;
}

.client-address{

  font-size:22px;

  font-weight:700;

  margin-bottom:10px;
}

.client-phone{

  font-size:20px;

  font-weight:700;
}

/* CYCLE BUTTON */

.stage-card{

  background:white;

  border-radius:34px;

  padding:22px;

  flex-shrink:0;

  box-shadow:
  0 12px 28px rgba(0,0,0,.05);
}

.cycle-btn{

  width:100%;

  border:none;

  border-radius:28px;

  background:#07133d;

  color:white;

  padding:22px 20px;

  font-size:20px;

  font-weight:900;
}

/* WORKFLOW */

.workflow-card{

  flex:1;

  background:white;

  border-radius:38px;

  padding:24px 24px 18px;

  display:flex;
  flex-direction:column;

  align-items:center;

  text-align:center;

  overflow:hidden;

  box-shadow:
  0 12px 28px rgba(0,0,0,.05);
}

/* REPAIR TITLE */

.job-title{

  width:100%;

  font-size:34px;

  line-height:1.05;

  font-weight:900;

  letter-spacing:-1px;

  margin-bottom:18px;
}

/* LABEL */

.job-status-label{

  width:100%;

  font-size:28px;

  font-weight:900;

  margin-bottom:18px;
}

/* STATUS AREA */

.status-viewer{

  width:100%;

  flex:1;

  display:flex;

  align-items:flex-start;

  justify-content:center;

  padding-bottom:10px;
}

.status-card{

  width:100%;

  max-width:480px;

  min-height:96px;

  border-radius:30px;

  background:
  linear-gradient(
    135deg,
    #376cff,
    #4c7dff
  );

  color:white;

  display:flex;

  justify-content:center;
  align-items:center;

  text-align:center;

  padding:22px;

  font-size:24px;

  font-weight:900;

  box-shadow:
  0 14px 28px rgba(55,108,255,.20);

  transition:.25s ease;
}

.status-card.completed{

  background:#dcfce7;

  color:#15803d;
}

/* BOTTOM BAR */

.bottom-bar{

  position:fixed;

  left:0;
  right:0;
  bottom:0;

  background:white;

  padding:14px 18px 24px;

  display:flex;

  gap:14px;

  z-index:50;

  box-shadow:
  0 -10px 24px rgba(0,0,0,.08);
}

.bottom-btn{

  flex:1;

  border:none;

  border-radius:26px;

  background:
  linear-gradient(
    135deg,
    #376cff,
    #4a7bff
  );

  color:white;

  padding:20px 10px;

  font-size:18px;

  font-weight:900;

  box-shadow:
  0 10px 18px rgba(55,108,255,.24);
}

/* DRAWERS */

.drawer-backdrop{

  position:fixed;

  inset:0;

  background:rgba(0,0,0,.42);

  opacity:0;

  visibility:hidden;

  transition:.25s ease;

  z-index:80;
}

.drawer-backdrop.active{

  opacity:1;

  visibility:visible;
}

.drawer{

  position:fixed;

  left:0;
  right:0;
  bottom:-100%;

  background:white;

  border-radius:36px 36px 0 0;

  padding:18px 22px 40px;

  transition:.3s ease;

  z-index:100;

  max-height:72vh;

  overflow:auto;
}

.drawer.active{
  bottom:0;
}

.drawer-handle{

  width:90px;

  height:8px;

  border-radius:999px;

  background:#d7ddeb;

  margin:0 auto 20px;
}

.drawer-header{

  display:flex;

  justify-content:space-between;

  align-items:center;

  margin-bottom:18px;
}

.drawer-header h2{

  font-size:28px;

  font-weight:900;
}

.close-btn{

  border:none;

  background:none;

  font-size:30px;

  color:#07133d;
}

.log-list{

  display:flex;

  flex-direction:column;

  gap:14px;

  margin-bottom:18px;
}

.log-item{

  background:#f5f7fd;

  border-radius:18px;

  padding:18px;

  font-size:16px;

  line-height:1.4;
}

.drawer-input{

  width:100%;

  border:2px solid #d8deeb;

  border-radius:18px;

  padding:18px;

  font-size:16px;

  margin-bottom:14px;
}

.drawer-save-btn{

  width:100%;

  border:none;

  border-radius:18px;

  background:#376cff;

  color:white;

  padding:18px;

  font-size:17px;

  font-weight:800;

  margin-bottom:12px;
}

.secondary-btn{
  background:#07133d;
}