\documentclass{dane_proposal_format}
\usepackage{booktabs}        % For professional tables
\usepackage{tabularx}        % For flexible table columns
\usepackage{multirow}        % For multi-row cells
\usepackage{array}           % Enhanced table formatting
\usepackage[table]{xcolor}   % For colored tables (optional)
\usepackage{pgfgantt}
\usepackage{pdfpages}        % For including PDF files

% === SPLIT'S EDITING COMMENTS ===
% Set to 1 for edit mode (wider margins, visible comments)
% Set to 0 for final mode (normal margins, comments hidden)
\newcommand{\editmode}{0}

\ifnum\editmode=1
  % Edit mode: load todonotes, adjust margins
  \usepackage[colorinlistoftodos,prependcaption,textsize=small]{todonotes}
  \setlength{\hoffset}{-0.5in}        % Shift everything left
  \setlength{\oddsidemargin}{0in}     % Left margin
  \setlength{\textwidth}{5in}         % Text column width
  \setlength{\marginparwidth}{5cm}    % Wide margin for notes (2x original)
  \setlength{\marginparsep}{0.3cm}    % Gap between text and notes
  
  % Color-coded comment commands
  % Green: General observations, "nice work", vibes
  \newcommand{\splitnote}[1]{\todo[color=green!40]{#1}}
  % Yellow: "Hey, check this out maybe?" - suggestions
  \newcommand{\splitsuggest}[1]{\todo[color=yellow!60]{#1}}
  % Orange: "This needs some polish" - should fix
  \newcommand{\splitpolish}[1]{\todo[color=orange!50]{#1}}
  % Red: "Fix this. Not acceptable." - must fix
  \newcommand{\splitfix}[1]{\todo[color=red!40]{#1}}
  % Inline versions
  \newcommand{\splitinline}[1]{\todo[inline,color=green!40]{#1}}
\else
  % Final mode: no comments, normal margins
  \newcommand{\splitnote}[1]{}
  \newcommand{\splitsuggest}[1]{}
  \newcommand{\splitpolish}[1]{}
  \newcommand{\splitfix}[1]{}
  \newcommand{\splitinline}[1]{}
\fi
% ================================

\begin{document}

% \pagenumbering{roman}
\maketitle
% \input{1-goals-and-outcomes/research-statement.tex}
\newpage
\tableofcontents
\newpage
\pagenumbering{arabic}

\input{1-goals-and-outcomes/goals.tex}
\newpage

\input{2-state-of-the-art/state-of-art}
\newpage

\input{3-research-approach/approach}
\newpage

\input{4-metrics-of-success/metrics}
\newpage

\input{5-risks-and-contingencies/risks}
\newpage

\input{6-broader-impacts/impacts}
\newpage

\input{8-schedule/schedule}
\bibliographystyle{ieeetr}
\bibliography{references}

% White Paper (optional)
% \input{whitepaper/v1}

\end{document}
