/* ==========================================================================
   PIHU WORK TOOLS - UNIFIED WORKSPACE STYLES
   Clean, Practical & High-Efficiency Cyber Cafe / Studio UI
   ========================================================================== */

.work-page [hidden] { display: none !important; }

.work-page {
  min-height: 100vh;
  background: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-sans);
  transition: background 0.2s ease, color 0.2s ease;
}

.work-shell {
  width: min(1320px, calc(100% - 32px));
  margin: auto;
  padding: 20px 0 50px;
}

.work-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 20px;
  padding: 18px 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

.work-hero span {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-hero h2 {
  margin: 4px 0;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  color: var(--text-primary);
  font-weight: 800;
}

.work-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
  gap: 20px;
  align-items: start;
}

@media (max-width: 960px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

.work-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.work-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.work-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.work-field {
  margin-bottom: 14px;
}

.work-field label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.work-field input, .work-field select, .work-field textarea {
  width: 100%;
  padding: 8px 12px;
  font-size: 0.875rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
}

.work-field input:focus, .work-field select:focus, .work-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.work-btn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
